Search code examples
push-notificationfirebase-cloud-messagingionic5cordova-plugin-fcm

cordova-plugin-fcm-with-dependecy-updated not working ionic 5


I installed cordova-plugin-fcm-with-dependecy-updated by following the ionic documentation and made all the necessary firebase configurations. I imported FCM into app modules. Then I put the notification code in my app.component.ts

enter image description here

But when I do ionic cordova run android I have this as information:

enter image description here

the problem is that it does not display the token, please someone could help me.

enter image description here


Solution

  • I solved my problem using onesignal