FCM notification

I’m trying to test the FCM notification. I followed everything in this youtube vid: https://www.youtube.com/watch?v=0AiTitxV7mk

When I try the app, it shows me an error:
uncaught (in promise) cordova not available

I tried running the app in my phone, it still shows me the same error. When I close the error window and try to send the notification; I do not receive the notification.

I’m basically trying to make an app that can send and receive notification, if there is another and better way to do it, please let me know.

Hi @mohammad7

try below tutorial for FCM notification


@addwebsolution How can I do this step “Add Server key from FCM and Save”? I got my server key from Firebase console but it is asking for keystore, key alias, keystore password and keypassword. Thanks for the help.