You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
And if we look deeper into the mMap.onStop() we get to MapView.java
/** * You must call this method from the parent's Activity#onStop() or Fragment#onStop(). */@UiThreadpublic void onStop() { if (mapboxMap != null) { // map was destroyed before it was started mapboxMap.onStop(); } if (mapRenderer != null) { mapRenderer.onStop(); } ConnectivityReceiver.instance(getContext()).deactivate(); FileSource.getInstance(getContext()).deactivate();}
And apparently the line FileSource.getInstance(getContext()).deactivate(); make the error
The text was updated successfully, but these errors were encountered:
I expect that this can occur by closing an activity before it was fully created. We need to check if the optional has a value before accessing it. Adding this to the milestone for a patch release.
Platform: Android
Mapbox SDK version: mapbox-android-sdk:5.5.0
Steps to trigger behavior
Unknown specifics. Possibly on exiting the activity.
Since March13 we are seeing a crash :
And the code where it happens :
And if we look deeper into the
mMap.onStop()
we get toMapView.java
And apparently the line
FileSource.getInstance(getContext()).deactivate();
make the errorThe text was updated successfully, but these errors were encountered: