AnsweredAssumed Answered

Xamarin Forms App crashes after resuming from sleep

Question asked by alehmann on Apr 25, 2017

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?

Attachments

Outcomes