Xamarin Forms App crashes after resuming from sleep

04-25-2017 07:48 AM
New Contributor III

When I resume my from sleeping, the app crashes while trying to display the map. When I'm returning to a non-map-view, the app keeps working as long as I stay on that view. Once I navigate to the map, the app crashes.

This does not happen if I immediately return to the app after pressing home / changing app, but only after a few minutes.

This happens on iOS (10.2) as well as on Android (7.0).

I attached the crash dump from inside Visual Studio catching a crash on Android.

Is there anything one should do with the Map, MapView, etc. when the app sleeps?

0 Kudos
0 Replies