node-red-contrib-fcm-push-node
v0.1.1
Published
Node-red Node interface to Firebase Cloud Messaging (FCM) for Android and iOS
Downloads
13
Maintainers
Readme
Firebase Cloud Messaging Push (fcm-push) Node
A simple interface to Firebase Cloud Messaging (FCM) for Android and iOS, powered by fcm-push.
It will read the payload for the following variables:
to
: (required) [String] Device token or topiccollapseKey
: [String] Collapse Keydata
: [Object] Data passednotification
: [Object] Object with two propertiestitle
andbody
It uses the environment variable FCM_SERVER_KEY
for the server key configuration.
Install
Install from npm
npm install --save node-red-contrib-fcm-push-node
License
MIT