You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -306,7 +306,9 @@ Note: if you currently have the `storageBucket` property in the `firebase.init()
306
306
### Build
307
307
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:
308
308
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.
311
313
312
314
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