Open dennisbordet opened 9 months ago
I just copied the code from the google maps plugin but in fact we just need to invalidate the texture view, not all the mapview
Thanks for contributing!
It would be good if some more people who had the issue could test this approach and comment here, since I can't reproduce the original issue.
Thanks for contributing!
It would be good if some more people who had the issue could test this approach and comment here, since I can't reproduce the original issue.
I tried on my Samsung Note8 (SM-N950F - Android 9) and the fix is working great !
I can still reproduce the bug on my phone. It's a Samsung Galaxy s9, android 10
I can not reproduce this, can you let me know under which conditions this appears? Is this tied to a specific Android SDK version or are there already fixes in a later Flutter SDK?
What i've done to test:
dependency_overrides:
maplibre_gl_platform_interface:
git:
url: https://github.com/f1sh1918/flutter-maplibre-gl.git
path: maplibre_gl_platform_interface
ref: test
dependencies:
maplibre_gl:
git:
url: https://github.com/f1sh1918/flutter-maplibre-gl.git
ref: test
For me the bug is still reproduceable on Android 9 and Android 14 even with your changes Tested on browserstack
environment:
sdk: 3.3.1
flutter: 3.19.3
What
Fix issue #327
Copied from commit on the google map flutter plugin. The commit concerned was fixing another fix that has inserted a second bug.
Test Plan
Tested on emulator API 28 & samsung Galaxy s7-> no more rendering missed when come back from background Tested on OnePlus 7T android 12 -> no regression seen
Maestro Flow to reproduce bug
Run this flow with the following command:
maestro test path_to_the_file
Careful the flow does not check if the bug is present, just follow the steps to reproduce 15 times.