-
Notifications
You must be signed in to change notification settings - Fork 131
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
Location updates incompatible with Play Services Location v21 #1752
Comments
Thanks for reporting this issue. Indeed, Google Play Services has introduces a breaking change. See release notes here: https://developers.google.com/android/guides/releases#october_13_2022 As you already mentioned please keep using Google Play Services Location 20.0.0 for the time being. |
confirmed. |
This issue has been resolved in v10.10.0. It's now possible to use Google Play Services Location 20 or 21. |
@jush any chance you could point me to the PR that addressed this issue? I looked at the diff between 10.9.1 and 10.10.0 and nothing looked related. |
Unfortunately the change was done in one of our internal libraries. We ended up using a tiny amount of reflection to call the methods regardless of being an interface or a class. |
@jush Any chance this fix could be added for mapbox-gl-native too? |
* events api tailwork * use subscribe methods across sdk, added more tests * update migration guide and address review comments
Environment
Observed behavior and steps to reproduce
Display a view with the Map and add the ability to receive Location Updates via the Fused Location Provider.
Expected behavior
Receive location updates.
Notes / preliminary analysis
Version 21.0.0 included a change which makes Mapbox incompatible with it.
I switched back to version 20.0.0 and everything works flawlessly.
Error stacktrace
Additional links and references
N/A
The text was updated successfully, but these errors were encountered: