@altabsrl/nativescript-firebase-env
Separate environment for nativescript-firebase
npm i --save @altabsrl/nativescript-firebase-env
- Version: 0.0.7
- GitHub: https://github.com/Altab-S-R-L/nativescript-firebase-env
- NPM: https://www.npmjs.com/package/%40altabsrl%2Fnativescript-firebase-env
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Nativescript Firebase Env
Separate environment for nativescript-firebase
Setup
For iOS you can put your GoogleService-Info.plist.dev and GoogleService-Info.plist.prod at your project root.
For Android you can put your google-services.json.dev and google-services.json.prod at your project root.
Build
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:
devwill be selected if you run without--env.production.prodwill be selected if you run with--env.production.