registerForPushNotifications


Purpose

Registers an app for receiving push notifications.

Signature

registerForPushNotifications()

Returns

This method returns a promise object that is used to retrieve the registration token. On iOS it is a hex string, while on Android it is raw string value retrieved from GCM servers.

If the user denies showing notifications for the app, a NotificationPermissionError error is returned.

Related topics

Notifications
Legal notice | Copyright © 2019 and Confidential to Pegasystems Inc. All rights reserved
Pega Community | Feedback
Advanced...