@vulksoft/nativescript-firebase-env
by vulksoft | v0.0.6
Separate environment for nativescript-firebase
npm i --save @vulksoft/nativescript-firebase-env
  • Version: 0.0.6
  • GitHub:
  • 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:

  • dev will be selected if you run without --env.production.
  • prod will be selected if you run with --env.production.