Class

PushNotificationApi

PushNotificationApi()

Push Notifications Hooks. Instance name: pushNotificationApi

You can use this hook to customize the push notifications for your app such as enabling push notification with Amazon AWS by sending device token.

Constructor

# new PushNotificationApi()

Example
externalCodeSetup.pushNotificationApi.METHOD_NAME

Methods

# enableAwsPushNotifications()

Enable Push Notifications with Amazon AWS. You can use it to send device token instead of FCM token. For more information, refer to https://rnfirebase.io/reference/messaging#getAPNSToken.

Example
externalCodeSetup.pushNotificationApi.enableAwsPushNotifications()