Expand description
ยงPush notifications module.
This module is responsible for Apple Push Notification Service and Firebase Cloud Messaging push notifications.
It provides PushSubscriber
type
which holds push notification token for the device,
shared by all accounts.
Structsยง
- Manages subscription to Apple Push Notification services.
- Push
Subscriber ๐State
Enumsยง
Constantsยง
- NOTIFIERS_
PUBLIC_ ๐KEY The key was generated withrsop generate-key --profile rfc9580
and public key was extracted withrsop extract-cert
.
Functionsยง
- encrypt_
device_ ๐token Encrypts device token with OpenPGP. - pad_
device_ ๐token Pads the token with spaces.