Push Notifications with Firebase Cloud Messaging (FCM)


#1

Hey Everyone,

Since this is a frequently asked about topic, I’ve gone ahead and written a tutorial around push notifications with Firebase Cloud Messaging (FCM) in a NativeScript with Angular application.

Enjoy!


#2

Following up on this.

The push notification plugin as of right now uses FCM for Android, but APNS for iOS. This means that tokens generated on iOS cannot be sent to via the Firebase APIs.

The above tutorial shows you how to convert your APNS tokens to FCM tokens so that way you can send to both Android and iOS from the Firebase APIs using the push notification plugin for NativeScript.

Best,