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
Android API: Mapbox Navigation SDK version:
MapboxNavigation.onDestroy() is not called during low memory conditions. As a result, resources are not released and, if navigation is in progress, it is not terminated. This causes indeterministic behavior of the app.
The root cause is that the Android OS does not guaranty a call to onDestroy() during low memory conditions. When the app is backgrounded, onDestroy() is not called, but onCreate() is called when the app is foregrounded. The SDK expects onDestroy()/onCreate() calls to be paired.
Steps to trigger behavior
Using the emulator create a device with low initial memory
Start the Android demo App, or any other app that uses the SDK in that emulator
Start navigation and background/foreground the app.
Expected behavior
The navigation session should continue
Actual behavior
The App will either crash, display a black screen or enter some other indeterminate state.
The text was updated successfully, but these errors were encountered:
Android API:
Mapbox Navigation SDK version:
MapboxNavigation.onDestroy() is not called during low memory conditions. As a result, resources are not released and, if navigation is in progress, it is not terminated. This causes indeterministic behavior of the app.
The root cause is that the Android OS does not guaranty a call to onDestroy() during low memory conditions. When the app is backgrounded, onDestroy() is not called, but onCreate() is called when the app is foregrounded. The SDK expects onDestroy()/onCreate() calls to be paired.
Steps to trigger behavior
Expected behavior
The navigation session should continue
Actual behavior
The App will either crash, display a black screen or enter some other indeterminate state.
The text was updated successfully, but these errors were encountered: