-
Notifications
You must be signed in to change notification settings - Fork 509
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
MapboxMap.useHybridComposition = true produces crashes #1077
Comments
this flag will be removed in the next release - for now keep it turned off. |
2 additionnal info : First, if we turn the flag off, we fall back to those issues : -> So I cannot set the flag to false, because on some devices, it breaks the Map Secondly, I have tested the same behavior on the GoogleMap sample app : https://github.com/flutter/plugins/tree/main/packages/google_maps_flutter/google_maps_flutter I am able to reproduce the same kind of issue, Except that the google map do not Crash. There is only some flutter Error log :
|
Thanks for the analysis.
Sadly this seems to be very much an upstream problem. @paulVulog can you report this issue to the mapbox android and flutter upstream repos? (Mention the issue with google maps for the flutter one) |
@felix-ht |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue relates to MapboxGL v0.16.0 and #916
All the following issues was tested and reproduced on Samsung S9+ - Android 10
When running an app with MapboxMap.useHybridComposition = true; and doing some multitouch on the map, you can easily get some app crashes.
here are the produced logs :
Way to reproduce using the Mapbox Gl sample app:
This will simply add a widget on top of the map to reproduce the crash.
One digit on the map
The Other One on the green widget
Tap both at the same time.
You will get a crash.
It only crash if you tap a widget (flutter) stacked on top of the map (nativ view because of .useHybridComposition = true)
The text was updated successfully, but these errors were encountered: