A deep package that provides links for working with @firebase/messaging and typescript library to simplify integration with this deep package
- Insert ServiceAccountwith string value
 You can find it in firebase console in settings of your project
- (optional) Insert UsesServiceAccountfromUsertoServiceAccountto make it active
- 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
- 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
- Insert PushNotification
- Update its value to object like that contains titleandbodyfields:{ "title": "My Title", "body": "My Body" }
- Insert NotifyfromPushNotificationtoDevice
- See push notification on your device :)
To receive messages on Client read Firebase Cloud Messaging Documentation
See Documentation for examples and API