@z-helper/fcm-v1
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@z-helper/fcm-v1

npm version

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.

Package Sidebar

Install

npm i @z-helper/fcm-v1

Weekly Downloads

27

Version

1.0.2

License

MIT

Unpacked Size

7.44 kB

Total Files

4

Last publish

Collaborators

  • zabih-dev