Firebase Config

Contents

Cordova plugin for Firebase Config

https://github.com/chemerisuk/cordova-plugin-firebase-config

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-firebase-config npm install @ionic-native/firebase-config
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/firebase-config

Supported Platforms

  • Android
  • iOS

Usage

import { FirebaseConfig } from '@ionic-native/firebase-config/ngx';


constructor(private firebaseConfig: FirebaseConfig) { }

...


this.firebaseConfig.getBoolean('my_key')
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));