Firebase
Android
- In the center of the Firebase console's project overview page, click the Android 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. 

- On the next screen, enter your Android package name & App nickname and click on Register App. Your package name is generally the - applicationIdin your app-level- build.gradlefile. If specified, the app nickname will be used throughout the Firebase console to represent this app. Nicknames aren’t visible to users.

- Download the - google-services.jsonfile & place it in your project’s- approot directory. Make sure the config file is not appended with additional characters, like- (2).

- Back in the Firebase console-setup workflow, click Next to skip the remaining steps. 
- Run - flutter packages get
iOS
Configure an iOS app:
- In the Add an app to get started section, click on iOS Icon to add an iOS app to Firebase. 

- On the next screen, enter your iOS bundle ID & App nickname and click on Register App. You can find your Bundle Identifier in the General tab for your app’s primary target in Xcode. If specified, the app nickname will be used throughout the Firebase console to represent this app. Nicknames aren’t visible to users. 

- Download the - GoogleService-Info.plistfile. Make sure the config file is not appended with additional characters, like- (2).
- Using XCode, move the file into the - Runner/Runnerdirectory of your Flutter app.
- Back in the Firebase console setup workflow, click Next to skip the remaining steps. 
- Run - flutter packages get
Last updated
Was this helpful?
