Firebase Authentication

Contents

Cordova plugin for Firebase Authentication

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

Installation

ionic cordova plugin add cordova-plugin-firebase-authentication npm install @ionic-native/firebase-authentication

Supported Platforms

  • Android
  • iOS

Usage

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


constructor(private firebaseAuthentication: FirebaseAuthentication) { }

...


this.firebaseAuthentication.createUserWithEmailAndPassword('test@gmail.com', '123')
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));