Firebase Configuration
Add your app to your Firebase Project (Android)
Click Add Firebase to your Android app and follow the setup steps. If you're importing an existing Google project, this may happen automatically and you can just download the config file.
When prompted, enter your app's package name. It's important to enter the package name your app is using; this can only be set when you add an app to your Firebase project.
During the process, you'll download a
google-services.json
file. You can download this file again at any time. Replace the exisitinggoogle-services.json
file located in the android > app with the one you just downloaded.After you add the initialization code, run your app to send verification to the Firebase console that you've successfully installed Firebase.
Add your app to your Firebase Project (iOS)
Go to the Firebase console.
In the center of the project overview page, click the iOS icon to launch the setup workflow.
If you've already added an app to your Firebase project, click Add app to display the platform options.
Enter your app's bundle ID in the iOS bundle ID field.
(Optional) Enter other app information: App nickname and App Store ID.
Click Register app.
Click Download GoogleService-Info.plist to obtain your Firebase iOS config file (
GoogleService-Info.plist
).Move your config file into the ios > Runner folder of your project. If prompted, select to add the config file to all targets.
Last updated