Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 602b3b2

Browse files
Update README.md
1 parent 92fc3a3 commit 602b3b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ Note: if you currently have the `storageBucket` property in the `firebase.init()
306306
### Build
307307
The build hooks of this plugin will now choose either the `dev` or the `prod` version of your google services `plist` and `json` files depending on how you run your build:
308308

309-
* `prod` will be selected if you run with either the `--release`, `--env.prod` or `--env.production` flags
310-
* `dev` will be selected if you do not run with any of the above flags
309+
* `dev` will be selected if you run with either `--env.dev`, `--env.development` or `--env.staging` flags.
310+
* `prod` will be selected if you run with either `--env.prod` or `--env.production`.
311+
312+
Note: Using the `--release` flag without any of the above flags will set the default environment to production. If you need to create a release with dev environment you'll need to set it explicitly.
311313

312314
Note: if you do not have both `dev` and `prod` files in place, the regular `GoogleService-Info.plist` and `google-services.json` files will be used.

0 commit comments

Comments
 (0)