Files
firebase-ios-sdk/FirebaseInstallations/API_KEY_RESTRICTIONS.md
T

29 lines
1.4 KiB
Markdown
Raw Normal View History

2020-01-08 10:54:28 -05:00
# API-Key restrictions may need to be updated with new version of Firebase iOS SDKs.
## What happened?
2020-01-14 11:46:11 -05:00
The following SDKs updates introduce a dependency on the [Firebase Installations API](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com), a new infrastructure service for Firebase:
2020-01-08 10:54:28 -05:00
- Analytics
- Cloud Messaging
- Remote Config
- In-App Messaging
- A/B Testing
- Performance Monitoring
- ML Kit
- Instance ID
As a result, API restrictions you may have applied to API keys used by your Firebase applications may have to be updated to allow your apps to call the Firebase Installations API.
## What do I need to do?
Before upgrading your application(s) to the latest SDK version, please **make sure that the API key(s) used in your application(s) are whitelisted for the Firebase Installations API:**
2020-01-14 11:46:11 -05:00
- **Open** the [Google Cloud Platform Console](https://console.cloud.google.com/apis/credentials?folder).
2020-01-08 10:54:28 -05:00
- **Choose** the project you use for your application(s).
- **Open** `APIs & Services` and **select** `Credentials`.
- **Click** `Edit API Key` (pencil icon) for the API key in question.
- **Scroll down** to the `API restrictions` section.
- If the radio button shows `Don't restrict key`, the API key is not affected.
Otherwise, from the dropdown menu, **add** the `Firebase Installations API` to the list of permitted APIs, and click `Save`.