node-red-contrib-fcm-push-node

Node-red Node interface to Firebase Cloud Messaging (FCM) for Android and iOS

Usage no npm install needed!

<script type="module">
  import nodeRedContribFcmPushNode from 'https://cdn.skypack.dev/node-red-contrib-fcm-push-node';
</script>

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 topic
  • collapseKey: [String] Collapse Key
  • data: [Object] Data passed
  • notification: [Object] Object with two properties title and body

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