Open T-moz opened 7 months ago
Everyone who has this issue: on what device and what Android version are you seeing this?
There is an active issue in the flutter repo (https://github.com/flutter/flutter/issues/139039), but that seems to only affect Samsung devices.
Also to everyone who has (upvoted) this issue: It would be great if you can share with Flutter version you see this bug and if this is with Impeller enabled?
Hi @m0nac0, thanks for the hint on the samsung bug 🙏
I saw the bug with two samsung devices. On Flutter 3.13.8, with impeller disabled. I will test this on an other device brand, and with the recently release version of Flutter.
Note that google_map_flutter also uses platform view and the bug is not present.
I saw the bug with two samsung devices.
Are those two devices on Android 14?
I saw the bug with two samsung devices.
Are those two devices on Android 14?
No there are on Android 10. By the way, I tried enabling and disabling hybrid composition, that changes nothing.
I saw the bug with two samsung devices
Were those Samsung S22, S23, S22 Ultra, S23 Ultra? (Those are the ones that I've seen mentioned as affected by the upstream Flutter issue)
I reproduced the issues with a Huawei phone under android 8.
The devices brand, and android version were we tested and find the issues:
Brand | Device | Android version |
---|---|---|
Samsung | Galaxy S9 | 10 |
Samsung | Galaxy Note 8 | 10 |
Huawei | P9 light | 8 |
I complete the reproduction table. It seems to be related to the android version
Brand | Device | Android version | Bug status |
---|---|---|---|
Oneplus | 7T | 12 | Not reproduced |
Samsung | Galaxy s7 | 8 (samsung experience 9) | White screen at first resume from background |
Emulator | API 34 | Not reproduced | |
Emulator | API 28 | White screen at first resume from background | |
Emulator | API 29 | Flicker only | |
Emulator | API 30 (android 11) | Not reproduced |
Flickers:
https://github.com/maplibre/flutter-maplibre-gl/assets/28344195/ed195bb3-1602-4182-8284-397791a7bff4
Transparent:
https://github.com/maplibre/flutter-maplibre-gl/assets/28344195/e5cfe473-d04e-41e4-916b-e9e500a73ecc
Steps to reproduce:
flutter doctor:
logs:
Related informations:
✅ This bug is not present in Maplibre Native. 🐞 This bug is present in mapbox-map-flutter ✅ This bug is not present in google_map_flutter
The root cause might be in the platform-view implementation.
See Google Map
https://github.com/maplibre/flutter-maplibre-gl/assets/28344195/43dcb350-b010-4de3-ac61-bc90b92f7035