- Find your current location using FusedLocationProviderClient
- Add in Google LBS API version 11
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="GoogleMap Key"/>
You can create a new app on https://console.cloud.google.com and have to go to Enabled APIs and services to enable Geolocation API
Note : Don't forget to paste your Android applicationId from app->build.gradle and your SHA while creating key.
-Create the key and paste into Android app.
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-maps:15.0.1'