It is possible that Android will kill your app while it is in the background.
Using TomTom intent instead of GoogleMaps, all is working fine.
It looks like Android 11 has changed something in context with Maps and I can't find a solution.
I changed my Manifest with:
AddManifestText(<queries>
<package android:name="com.google.android.apps.maps" />
</queries>)
Find on another thread and searching the internet.
Now Maps is not crashing, but switching back to my App after using Maps, the form is empty (I use Statemanager to prevent this).
This is not happening using TomTom and switching the same way.
Can someone point me in the right direction to investigate this problem? I am almost out of options.
Android 10 and before is working fine with Maps and the same B4A source.
Kind regards,
André