Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1462: Map vanishes app list #1506

Closed
wants to merge 2 commits into from
Closed

Conversation

f1sh1918
Copy link
Contributor

@f1sh1918 f1sh1918 commented Jun 25, 2024

Short description

On some device likes Samsung S24Ultra (Android 14) the map vanishes if you switch to app list and back.
Unfortunately this is not fixed by maplibre update and the issue is open for some time already.
So i implemented a little workaround that reloads the map on resume
The current state is not super nice, since selected stores on the map and the position will be lost.
I could also pass an initial store selection or anything but maybe anyone knows a better solution to avoid this.

Proposed changes

  • update maplibre and gradle
  • add Observer to reload Map widget on AppLifeCycleState.resume

Side effects

  • Current state of the map f.e. selected store is lost

Resolved issues

Fixes: #1462

@f1sh1918
Copy link
Contributor Author

will maybe close this draft and hope that there will be an upstream fix for maplibre

@f1sh1918 f1sh1918 closed this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map vanishes when restart fom app-list
1 participant