πΊοΈSetup Google Maps & Location Sharing
Enable Google Maps SDK
if you want to use Location Sharing feature you have to enable Google Maps SDK in order to make it working.
go to Google Developers Console and sign in with the same Google account that you are using in your Firebase Project
you will find Your Firebase Project name shows up . click on
Enable APIs and Services

Search for
Maps SDK for Android
and enable it

go back to Google Developers Console's Main Home Page then go to 'Credentials'
copy the 'Android key' that normally starts with
AI
go to Android Studio >
build.gradle(Module:app)
and change themaps_api_key
value to the key that you copied from Google Console
Enable Foursquare API
go to Foursquare's Website and create a New Account then fill the required fields

choose the plan you want

if you are on FREE plan it's Highly Recommended to add your Payment Method to increase the limits, but if you want to test the app you can skip this by clicking on 'Return to my Apps'

finally you will get your Client ID
and Client Secret

now go to Android Studio > build.gradle(Module:app)
and change the foursquare_client_id
and foursquare_client_secret
values to the keys you have gotten from Foursquare then click 'Sync Now' at the top