-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Implement snapshot feature in maps API #1617
Comments
Is there an easy way to test this function? Last night I tried to implement this method, but I lack experience in kotlin and android development. |
You can try out most maps features (including the snapshot feature) in the maps api demo app: https://github.com/googlemaps/android-samples/releases/tag/v1.6.0 |
So, I tried a few things here. When I connect my phone (LOS + microG) and attach the debugger to its com.google.android.gms process it doesn't seem to hit any breakpoint. Any ideas? |
For using microG in Android Emulator, check https://github.com/microg/GmsCore/wiki/Development-Tools#using-the-emulator For debugging apps that use Maps API, you need to attach the debugger to the app using Maps, not com.google.android.gms. |
Snapshots are now implemented: GmsCore/play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/GoogleMap.kt Lines 477 to 500 in d56b6a0
Re. sharing locations in Signal (signalapp/Signal-Android#12723), the next blocker is #1960. |
The current implementation of the maps API lacks support for the snapshot() functionality.
https://github.com/microg/GmsCore/blob/master/play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/GoogleMap.kt#L483
This is a requirement for location sharing in Signal messenger.
The text was updated successfully, but these errors were encountered: