For the complete documentation index, see llms.txt. This page is also available as Markdown.

4.5 Additional Firebase Setup for iOS

Now, you have to connect the firebase with your code project. Follow the steps below:

  • Run the following command from your IDE terminal:

firebase login

After this command, you will get a link prompt to log in with the email account that you have used on firebase. Login with that by allowing the required criteria.

  • Run the following command from your IDE terminal:

dart pub global activate flutterfire_cli

After this command, if you get an error like the picture below, then just copy that line and run that.

  • Run the following command from your IDE terminal:

flutterfire configure
  • Select Your App and Press Enter.

  • Select iOS and press Enter.

Use arrow keys & space to select/unselect

After this command, Your iOS app information from firebase will be added in the lib/firebase_options.dart file. If you found them, your firebase configuration is successful.

Last updated