@deep-foundation/firebase-push-notification v18.2.2-dev.0
A deep package that provides links for working with @firebase/messaging and typescript library to simplify integration with this deep package
Usage
Setup
Service Account
- Insert
ServiceAccountwith string value
You can find it in firebase console in settings of your project - (optional) Insert
UsesServiceAccountfromUsertoServiceAccountto make it active
Web Push Certificate
- Insert
WebPushCertificatewith string value
You can find it in firebase console in settings of your project. You can use this url: https://console.firebase.google.com/project/PROJECT_ID/settings/serviceaccounts/adminsdk where you should changePROJECT_IDto your project id - (optional) Insert
UsesWebPushCertificatefromUsertoWebPushCertificateto make it active
Device
- Insert
DeviceThis type is located in the@deep-foundation/capacitor-devicepackage and it is recommended to use its library - Insert
DeviceRegistrationTokenIt is recommended to use registerDevice with insertDeviceRegistrationToken
Push Notification
- Insert
PushNotification - Update its value to object like that contains
titleandbodyfields:{ "title": "My Title", "body": "My Body" }
Notify
- Insert
NotifyfromPushNotificationtoDevice - See push notification on your device :)
Client
To receive messages on Client read Firebase Cloud Messaging Documentation
Library
Library Usage
See Documentation for examples and API
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago