When you create a Firebase project, a corresponding Google Cloud project is automatically created. This Google Cloud project serves as the underlying infrastructure for your Firebase project, allowing you to use various Google Cloud services (such as Maps, Places Api, Play Integrity, etc.) in conjunction with Firebase.
Headover to Google Google Cloud Console. Click the Project dropdown in the top-left corner. Select your project from the list or search for it. Then enable following options.
- Enable Maps Api.
- Enable Places Api.
- Enable Static Maps Api.
- Acquire Maps Api Key.
- Enable Google Play Integrity API - Navigate to APIs and services. Select enable APIs and services. Search for Play Integrity API and then enable it.
Once done, it is always a good idea to download latest configuration file from firebase console and update them at following place:
- Android:
Project_HOME > android > app > google-services.json
- iOS:
Project_HOME > ios > Runner > GoogleServices-Info.plist