The code under https://github.com/googlemaps/android-samples/tree/main/tutorials/kotlin/CurrentPlaceDetailsOnMap and the Java version demonstrates requesting location permissions and is mirrored in the Maps SDK for Android documentation at https://developers.google.com/maps/documentation/android-sdk/current-place-tutorial.
The patterns used for requestion location permissions are out of date.
The code under https://github.com/googlemaps/android-samples/tree/main/tutorials/kotlin/CurrentPlaceDetailsOnMap and the Java version demonstrates requesting location permissions and is mirrored in the Maps SDK for Android documentation at https://developers.google.com/maps/documentation/android-sdk/current-place-tutorial.
The patterns used for requestion location permissions are out of date.