Firebase Authentication

Contents

Cordova plugin for Firebase Authentication

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

Stuck on a Cordova issue?

Installation

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

Supported Platforms

  • Android
  • iOS

Usage

import { FirebaseAuthentication } from '@ionic-native/firebase-authentication/ngx';


constructor(private firebaseAuthentication: FirebaseAuthentication) { }

...


this.firebaseAuthentication.createUserWithEmailAndPassword('[email protected]', '123')
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));