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

Incompatibility with geolocator_android 4.14+ #202

Closed
kuhnroyal opened this issue Feb 23, 2023 · 1 comment
Closed

Incompatibility with geolocator_android 4.14+ #202

kuhnroyal opened this issue Feb 23, 2023 · 1 comment

Comments

@kuhnroyal
Copy link
Collaborator

This is more an info post then an issue.

I ran into random crashes which are caused by incompatible class changes in com.google.android.gms:play-services-location:21.0.0 See https://developers.google.com/android/guides/releases#october_13_2022

Some classes were changed to interfaces, the FusedLocationProviderClient is used within the Geolocator and MapLibre.
geolocator_android: 4.14 started pulling the new version which can cause a IncompatibleClassChangeException inside MapLibre which results in the app hard crashing.

The only workaround at the moment seems to be pinning geolocator_android.

In MapLibre Android 10, the GMS location provider has been removed (maplibre/maplibre-native#379) so this will no longer be a problem.
flutter-maplibre-gl needs to be updated at some point.

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

No branches or pull requests

1 participant