Articles

Affichage des articles associés au libellé notification

Ionic Firebase Push Notification

Image
This lesson, we’re going to learn  how to integrate  firebase cloud messaging (FCM)  with your ionic project. For a push notification setup we’re going to use a plugin  https://github.com/arnesson/cordova-plugin-firebase Create new ionic project or your can choose your existing project ionic start ionPush blank cd ionPush Before adding platform and plugin, we need to download  google-services.json  from your firebase project. Login to your firebase account & choose your project, then add android platform for your firebase project. Fill your package name & click Register App Download google-services.json After downloading google-services.json you need to move to root folder !!! Important !!! Before adding plugin, we need to copy & paste your downloaded google-service.json to your  project root folder ; not inside src or www Add platform, plugin and npm module ionic cordova platform add android ionic cordova plugin add c...