Sample for giving maps permission programmatically with GPS enabled feature if not enabled which shows current location in google maps api.
dependencies {
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-location:11.8.0'
}
View 1 | View 2 | View 3 |
---|---|---|