Skip to content

Commit 51411f1

Browse files
authored
Update readme_configuration_guideline.md
1 parent 0b5fc3a commit 51411f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readme_configuration_guideline.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ N.B: In this step you may need to setup your dart sdk path. If you get warned fo
2222

2323
**Step 4:** Create 2 different firebase project for PROD and DEV flavor
2424

25-
**Step 5:** Create a folder named **conf** at the root of the project and inside that folder create a file named **.env**. Now paste following lines in the file:
25+
**Step 5:** Create a folder named **conf** at the root of the project and inside that folder create a file named **.env** (if you face any problem to create .env file from file manager, please create it using Android Studio). Now paste following lines in the file (if you paste exact below lines without changing anything, it also will build for Android. But for iOS build you have to use actual value of below variables):
26+
2627
```
2728
PROD_FIREBASE_ANDROID_API_KEY=<API KEY FOR ANDROID APP IN PROD FIREBASE PROJECT>
2829
PROD_FIREBASE_ANDROID_APP_ID=<APP ID FOR ANDROID APP IN PROD FIREBASE PROJECT>
@@ -77,4 +78,4 @@ storeFile=<path to the keystore file>
7778
```
7879
Then run `flutter build appbundle -t lib/main_prod.dart --flavor prod` to generate app bundle (.aab) file. To generate .apk file, run `flutter build apk -t lib/main_prod.dart --flavor prod`.
7980

80-
For more details, please read through guide to build and relase android app documentation from [this link](https://docs.flutter.dev/deployment/android).
81+
For more details, please read through guide to build and relase android app documentation from [this link](https://docs.flutter.dev/deployment/android).

0 commit comments

Comments
 (0)