PushNotifications

external interface PushNotifications(source)

Properties

Link copied to clipboard
abstract val receivedApnsNotificationEvent: <Error class: unknown class><<Error class: unknown class><Event<*>, <Error class: unknown class><String, Any?>>>

Functions

Link copied to clipboard
abstract fun registerForAPNSNotifications(): <Error class: unknown class><String>

Registers the app with Apple Push Notification service (APNS) to receive Badge, Sound, and Alert notifications. If registration is successful, the promise will be resolved with the APNS device token. Otherwise, the promise will be rejected with an error message. See: https://developer.apple.com/documentation/appkit/nsapplication/1428476-registerforremotenotificationtyp?language=objc

Link copied to clipboard

Unregisters the app from notifications received from APNS. See: https://developer.apple.com/documentation/appkit/nsapplication/1428747-unregisterforremotenotifications?language=objc