I recently began using MapView inside my .NET MAUI Android app on .NET 10. The functionality I use is fairly straightforward:
1. A base map using a custom ImageTiledLayer implementation
2. Icons and polylines using various symbols and graphics
In the hang scenario, my phone is offline and the screen is turned off. I am recording my location inside my app, and rendering it to the MapView as a polyline when the phone is turned back on. What I see is the following:
1. After some time with my phone off, I turn it back on and sign in
2. The MapView is 100% unresponsive. It won't scroll or respond to taps.
3. The app itself remains perfectly responsive. I can go back and re-enter the page. I can switch the map to use Google Maps and then back to a new instance of the ESRI MapView. New instances work fine.
The issue is difficult to reproduce with more casual usage, so I don't have an easy repro or a thread dump from a debugger.
Any ideas?
Could you provide some more info
- Android OS version
- Android device
Did you try on multiple devices? The problem could be specific to a device, we have seen similar issues in the past and found problem is often times specific to a device/model.
This is on Android 16 on a Samsung S24+. I haven't tried this on other devices yet. But this is a fairly mainstream device, and I'd be very surprised if it was specific to the device/model. It seems much more likely you have a lifecycle issue when an app is suspended and resumed. Could you please look into that?