Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

Unknown error persists indefinitely after dropped connection is restored

I have a mobile app used by a team to receive tasks from a dispatcher on iPhone 7 devices. If the cellular/wifi connection is interrupted during any data operation, once the connection is restored, every subsequent attempt to do any operation (i.e. refresh) results in the helpful "An unknown error occurred" message. There is nothing the user can do to correct this once in this state except to close the app and reopen it. This state is permanent and the app is broken until closed and reopened.


If the connection is lost while the app is idle (not performing a refresh or other data operation) the interrupted connection does not put the app into this state... only if the connection is lost during a data operation. This can be easily repeated on a variety of apps by hitting refresh and then turning on airplane mode before the refresh completes.


With an auto refresh occurring and team members moving about a large building with varying degrees of connectivity, this happens frequently enough to be extremely disruptive and problematic. I understand that the data operation cannot complete if the connection is interrupted but the expectation is that once the connection is available again, the app would resume behaving normally. I also already have my data operations checking for connectivity before executing so this is occurring when the connection is lost during an operation (like a patch, refresh, etc.).


Tested and reproduced on iPhone 7 and Android Pixel devices using multiple apps.


Can anyone help... Is there anything that can be done to allow an app to gracefully restore connectivity if lost in this way?


I can confirm that the fix is effective on our fleet of iPhone 7 devices. We now see the "No Internet" and "Reconnected" messages at the bottom of the screen and the app no longer freezes up when connection is restored.



View solution in original post

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (47,605)