Firebase Config

Contents

Cordova plugin for Firebase Config

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

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Installation

ionic cordova plugin add cordova-plugin-firebase-confignpm install @ionic-native/firebase-config
Ionic Native Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

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));