Firebase Authentication

Contents

Cordova plugin for Firebase Authentication

Installation

ionic cordova plugin add cordova-plugin-firebase-authenticationnpm 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=YOURPRODUCTKEYnpm 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));