Cordova Plugin Firebase

Cordova plugin for Google Firebase
Alternatives To Cordova Plugin Firebase
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Functions Samples11,688
11 hours ago144apache-2.0JavaScript
Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase
Flutterfire7,7858472012 days ago107September 22, 2022311bsd-3-clauseDart
🔥 A collection of Firebase plugins for Flutter apps.
5 days ago9February 01, 2022793apache-2.0Java
Free implementation of Play Services
Quickstart Js4,744
a day ago74apache-2.0HTML
Firebase Quickstart Samples for Web
2 years ago445otherJava
Aarogya Setu Android app native code
a month ago41apache-2.0JavaScript
⚡️ Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Santa Tracker Android2,085
a year ago21otherJava
Ho Ho Ho
Nativescript Plugin Firebase1,018125102 months ago159November 05, 2020594mitTypeScript
:fire: NativeScript plugin for Firebase
Cordova Plugin Firebase99620452 years ago43October 10, 2018253mitObjective-C
Cordova plugin for Google Firebase
Awesome Ionic807
3 years ago2cc0-1.0
An "awesome" list of Ionic resources
Alternatives To Cordova Plugin Firebase
Select To Compare

Alternative Project Comparisons

Build Status


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

Supported Cordova Versions

  • cordova: >= 6
  • cordova-android: >= 6.4
  • cordova-ios: >= 4


Install the plugin by adding it to your project's config.xml:

<plugin name="cordova-plugin-firebase" spec="^2.0.0" />

or by running:

cordova plugin add cordova-plugin-firebase --save


Great installation and setup guide by -


Download your Firebase configuration files, GoogleService-Info.plist for iOS and google-services.json for android, and place them in the root folder of your cordova project. Check out this firebase article for details on how to download the files.

- My Project/
    google-services.json       <--
    GoogleService-Info.plist   <--
  • This plugin uses a hook (after prepare) that copies the configuration files to the right place, namely platforms/ios/\<My Project\>/Resources for ios and platforms/android for android.
  • Firebase SDK requires the configuration files to be present and valid, otherwise your app will crash on boot or Firebase features won't work.

PhoneGap Build

Hooks do not work with PhoneGap Build. This means you will have to manually make sure the configuration files are included. One way to do that is to make a private fork of this plugin and replace the placeholder config files (see src/ios and src/android) with your actual ones, as well as hard coding your app id and api key in plugin.xml.

Google Play Services

Your build may fail if you are installing multiple plugins that use Google Play Services. This is caused by the plugins installing different versions of the Google Play Services library. This can be resolved by installing cordova-android-play-services-gradle-release.

If your build is still failing, you can try installing cordova-android-firebase-gradle-release. For more info, read the following comment about locking down the specific versions for play services and firebase. It is suggested to use + instead of 15.+ to ensure the correct versions are used.

Google Tag Manager

Checkout our guide for info on setting up Google Tag Manager.

Configuring Notifications

Checkout our guide for info on configuring notification icons and colors.


See the full API available for this plugin.

Popular Firebase Projects
Popular Google Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Objective C