Skip to content

Commit

Permalink
Edit README.md file specifying the command to run in flutter fire
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianVarela committed Mar 14, 2023
1 parent 8bfbf13 commit 1d224f9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,18 @@ Run deep links in **Android**, use the command below:
* If you want to rename the bundles for each platform, you must do the steps below.
* For Android, you must rename the bundle id on ```app/build.gradle```.
* For iOS in XCode IDE, you select ```Runner``` and change the 'Bundle Identifier' text.
* You must run the ```FlutterFire CLI``` command
```bash
flutterfire configure --project=<YOUR_PROJECT_ID>
```
* You must run the ```FlutterFire CLI``` command to configure your Firebase project. The project has 2
environments `dev` and `production`.
* If the project is `production`, you must run this command. Automatically, it creates a file with the
name `lib/firebase_options.dart`
```bash
flutterfire configure --project=<YOUR_PROJECT_ID>
```
* If the project is `dev`, you must run this command. However, you must set the out file in this
case `lib/firebase_options_dev.dart`
```bash
flutterfire configure --project=<YOUR_PROJECT_ID> --out=lib/firebase_options_dev.dart
```
* Run project and enjoy :smile:

------
Expand Down

0 comments on commit 1d224f9

Please sign in to comment.