Firebase Config

Contents

Cordova plugin for Firebase Config

Installation

ionic cordova plugin add cordova-plugin-firebase-confignpm install @ionic-native/firebase-config
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/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));