Search docs/


This plugin brings push notifications, analytics, event tracking, crash reporting and more from Google Firebase to your Cordova project! Android and iOS supported (including iOS 10).

Stuck on a Cordova issue?

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.

Contact Us Today!


ionic cordova plugin add cordova-plugin-firebasenpm install @ionic-native/firebase
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


Not compatible


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

constructor(private firebase: Firebase) { }


  .then(token => console.log(`The token is ${token}`)) // save the token server-side and use it to push notifications to this device
  .catch(error => console.error('Error getting token', error));

   .subscribe(data => console.log(`User opened a notification ${data}`));

  .subscribe((token: string) => console.log(`Got a new token ${token}`));