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

Map vanishes when restart fom app-list #1462

Open
Docmale opened this issue May 28, 2024 · 4 comments
Open

Map vanishes when restart fom app-list #1462

Docmale opened this issue May 28, 2024 · 4 comments
Labels
Android blocked Task or user story can not be continued at the moment Bug Something isn't working ehrenamt related to ehrenamtskarte nuernberg related to Nürnberg Sozialpass

Comments

@Docmale
Copy link

Docmale commented May 28, 2024

When I open the list of background apps choosing another app and come back to 'Ehrenamt' the same way the map disappeared (black screen of one physikal device [Samsung A53; V14] , white one on the other [Samsung Note 8;V9]). The android emulator dosen't show this behaviour but sometimes crashes at this point.
I will ad ios behaviour later on.

To Reproduce
Steps to reproduce the behavior:

  1. Start Ehrenamt
  2. open background list
  3. Choose whatever other app
  4. come back to Ehrenamt the same way
  5. open Map when not already open
  6. find black/white screen
  7. for heeling remove Ehrenamt from background list and start it again

Related to:maplibre/flutter-maplibre-gl#327
Should be fixed by this pr: maplibre/flutter-maplibre-gl#406

Update to latest maplibre release
It should be fixed by updating to https://github.com/maplibre/flutter-maplibre-gl/releases/tag/v0.20.0
Looks like kotlin plugin for android has also to be updated

Update: its not fixed by maplibre v0.20 -> Blocked, waiting for upstream fix

This bug happens on android 9 and android 14. You can upload your apk to browserstack for testing

@Docmale Docmale added Bug Something isn't working nuernberg related to Nürnberg Sozialpass Android ehrenamt related to ehrenamtskarte labels May 28, 2024
@f1sh1918
Copy link
Contributor

f1sh1918 commented May 28, 2024

Hm maybe this a new Android 14 issue. I can not reproduce this on real device, but i only have Android 11
Can anyone else try to reproduce it with new store beta

@Docmale
Copy link
Author

Docmale commented May 28, 2024

I see it on android9 and 14
not reproducable on emulator Pixel_3a_API_34 Android 14

@Docmale
Copy link
Author

Docmale commented May 28, 2024

not reproducable on ios

@f1sh1918
Copy link
Contributor

f1sh1918 commented May 29, 2024

reproducable on android14 (Samsung S24 Ultra, not for Pixel 8 Pro) and android 9 on browserstack! Looks like to happen in some android versions but not in all
Looks like there is an open pr for this on flutter/maplibre
maplibre/flutter-maplibre-gl#364
I hope it will be fixed soon

It could also be fixed with impeller engine of a new flutter release. I'm gonna check this.
Impeller engine is by default enabled for ios and will be enabled also for android in flutter 3.22 which was released recently

Update: Still happens with impeller engine. So maybe we have to wait for the pr. Not sure if we can find a workaround. Looks like the mentioned open pr doesn't fix the issue. I forked it and tested :(

@f1sh1918 f1sh1918 added the blocked Task or user story can not be continued at the moment label Jun 4, 2024
@f1sh1918 f1sh1918 removed the blocked Task or user story can not be continued at the moment label Jun 13, 2024
@f1sh1918 f1sh1918 moved this to Next Up in entitlementcard Jun 13, 2024
@f1sh1918 f1sh1918 self-assigned this Jun 17, 2024
@f1sh1918 f1sh1918 moved this from Next Up to In Progress in entitlementcard Jun 17, 2024
@f1sh1918 f1sh1918 added the blocked Task or user story can not be continued at the moment label Jun 27, 2024
@f1sh1918 f1sh1918 moved this from In Progress to Next Up in entitlementcard Jul 2, 2024
@f1sh1918 f1sh1918 removed the status in entitlementcard Jul 2, 2024
@f1sh1918 f1sh1918 removed their assignment Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android blocked Task or user story can not be continued at the moment Bug Something isn't working ehrenamt related to ehrenamtskarte nuernberg related to Nürnberg Sozialpass
Projects
Status: No status
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants