Implement snapshot feature in maps API
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.
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. When I create a virtual device (Nexus 6 for no specific reason) based on the Android 10.0 microG Image and start the maps demo app I get "Maps SDK for Android Demos (Kotlin) won't run without Google Play Services". Self-Check has everything besides Phonesky and GSF.
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:
https://github.com/microg/GmsCore/blob/d56b6a088fab43397be4f2cec65f12a90dde7187/play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/GoogleMap.kt#L477-L500
Re. sharing locations in Signal (https://github.com/signalapp/Signal-Android/issues/12723), the next blocker is https://github.com/microg/GmsCore/issues/1960.