Open srinivas1100 opened 3 months ago
workaround for now was following for us: The myLocationEnabled property must only be set once onStyleLoadedCallback is triggered. Changing this property before this callback is triggered will result in this bug, which also right now is a major problem for all our android users :/
Platforms
android
Version of flutter maplibre_gl
0.20.0
Bug Description
Bug:
When enabling
myLocationEnabled
to true once the map is fully loaded, the Android application crashes when navigating to another screen. This results in a significant crash report rate of 50% in my live application.Impact:
This issue affects 50% of my live application's users, leading to a high crash rate and poor user experience.
Steps to Reproduce
Expected Results
The application should allow users to switch screens without crashing after enabling
myLocationEnabled
on the map.Actual Results
The application crashes upon navigating to switching another screen, causing a significant number of crashes in the live application.
Code Sample