Firebase Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
First, you’ll need to have a Google account. If you don’t have one, or want to create one specifically for Firebase you can go to the Google landing page and make an account for free.
1. Once you’ve made an account, go to Firebase Console and click the Create a project
2. Continue to click Create a project
.
3. From here you’ll be prompted for setting up a project.
4. Accept the terms, select the Google account you’d like to associate it with, allow the analytics, and then click Create project
.
Firebase will then create the project and direct you to the project’s overview.
1. Now to add android
app click on android symbol
2. Enter android package name
. This should be matched your flutter app package name. and click on Register app
.
3. Now click on Download google-service.json
button.
4. This file stored in Downloads folder of your system. and then click on next button.
5. Copy this file under FlyWeb_Flutter->android->app
folder
1. Now to add iOS
app click on iOS symbol
2. Enter iOS package name
. This should be matched your flutter app package name in iOS project. and click on Register app
.
3. Now click on Download google-service.json
button.
4. Copy this file under iOS project Runner->Runner
folder
5. Clean iOS project
6. Done!