Package Exports
- @z-helper/fcm-v1
- @z-helper/fcm-v1/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@z-helper/fcm-v1) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@z-helper/fcm-v1
If Google doc makes you want to bash your head through a window
It's a simple helper to simple and easy to use FCM V1 Api (Google push notification service)
NOTE
Cloud Messaging API (Legacy):
If you are an existing user of the legacy HTTP or XMPP APIs (deprecated on 20/6/2023), you must migrate to the latest Firebase Cloud Messaging API (HTTP v1).
So, you can use this helper to use the Firebase Cloud Messaging API (HTTP v1).
Pre-Requirement
- At first, you should create a Firebase project
- Go to the Project settings > Service accounts
- On this page, click on the "Generate new private key"
- Save it as "firebase-adminsdk.json"
Samples
You can take a look at the samples: Samples folder
Installation
You can install z-helper-js using npm:
npm i @z-helper/fcm-v1
License
It is MIT licensed.