Firebase options are a set of parameters required by services in order to successfully communicate with Firebase server APIs and in order to associate client data with your Firebase project and Firebase application.
Firebase services rely on valid Firebase options being available from the Firebase core SDK FIRApp, created during Firebase initialization.
Different Firebase services require different Firebase options to function properly, but all Firebase services require the following Firebase options:
AIzaSyDOCAbC123dEf456GhI789jKl012-MnOios-myapp-123GOOGLE_APP_ID, mobilesdk_app_id, "AppId" - Note: this is not an Android package name! \
Example value: 1:1234567890:ios:321abc456def7890To improve security Firebase SDK updates on January 14 and afterwards replaced the Firebase Instance ID service with a dependency on the Firebase Installations API.
Firebase Installations enforces the existence and validity of mandatory Firebase options API key, Project ID, and Application ID in order to associate client data with your Firebase project.
If you are reading this message, most likely your application is initializing Firebase without the required set of Firebase options.
Your application may be using an incomplete or erroneous GoogleService-Info.plist configuration file; or your app is programmatically initializing Firebase without the full set of required Firebase options.
As a result, Firebase services like Firebase Cloud Messaging (FCM) will malfunction for end-users who installed your app after it was released with the updated Firebase SDKs. Additionally, repeated failing requests to Firebase may slow down the end-user experience of your app.
To fix malfunctioning Firebase services for your applications, please take the following steps as soon as possible:
GoogleService-Info.plist config file from the Firebase console, then replace the existing file in your app.FIROptions object: Download your GoogleService-Info.plist config file from the Firebase console to find your API key, Project ID, and Application ID, then update these values in the FirebaseOptions object in your app.If your app is using an FCM Server key rather than a Cloud API key, this could cause a security vulnerability in case you are using the same FCM Server key to send push notifications via FCM. \ In this case, we strongly recommend that you revisit how your server authenticates send requests to FCM.
Please note that FCM Server Keys (not the same as the Firebase / Cloud API key) must not be included in applications as they can be abused to send push-notifications in the name of your project.
You can reach out to support at any time if you have any questions.