<aside> 💡

La documentación oficial del plugin la puedes encontrar aqui

</aside>

Android

Add Firebase to your Android Application

Once you’ve registered your Android app within the Firebase project, click on Download google-service.json

Untitled

<aside> 💡 Remember to configure the package name as the package_id registered in your Ionic application.

</aside>

Ios

Add Firebase to your iOS Application

Once you’ve registered your iOS app within the Firebase project, click on Download GoogleService-info.plist

Untitled

<aside> 💡 Don’t forget to register the App identifier with Apple. Configure your Apple Developer account with Firebase and your App

</aside>

Installation

To install the plugin, use the npm package manager

npm i cordova-plugin-firebase-messaging

You can also install it directly using Cordova:

cordova plugin add cordova-plugin-firebase-messaging

If you encounter any CocoaPods or version-related issues, you can run the following command:

pod repo update

Configuration Files