Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for instructions on how to migrate to a new version of Amplify Push Notifications.

https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/

Hierarchy

  • PushNotification

Implements

Index

Constructors

constructor

Methods

_checkIfOpenedByNotification

  • _checkIfOpenedByNotification(nextAppState: any, handler: any): void

_registerTokenCached

  • _registerTokenCached(): Promise<boolean>

addEventListenerForAndroid

  • addEventListenerForAndroid(event: any, handler: any): void

addEventListenerForIOS

  • addEventListenerForIOS(event: any, handler: any): void

addPluggable

configure

enable

  • enable(): void
  • enable(): void

getBadgeCount

  • getBadgeCount(): Promise<number | null>
  • getBadgeCount(): Promise<number | null>

getLaunchNotification

getModuleName

getPermissionStatus

getPluggable

handleNotificationOpened

  • handleNotificationOpened(rawMessage: any): void

handleNotificationReceived

  • handleNotificationReceived(rawMessage: any): void

identifyUser

initializeAndroid

  • initializeAndroid(): Promise<void>

initializeIOS

  • initializeIOS(): void

onNotification

  • onNotification(handler: any): void

onNotificationOpened

onNotificationReceivedInBackground

onNotificationReceivedInForeground

onRegister

  • onRegister(handler: any): void

onTokenReceived

parseMessageData

  • parseMessageData(rawMessage: any): object

parseMessageFromIOS

  • parseMessageFromIOS(message: any): any

parseMessagefromAndroid

  • parseMessagefromAndroid(message: any, from?: any): any

removePluggable

  • removePluggable(): void
  • removePluggable(providerName: string): void

requestIOSPermissions

  • requestIOSPermissions(options?: object): void

requestPermissions

setBadgeCount

  • setBadgeCount(_: number): void
  • setBadgeCount(count: number): void

updateEndpoint

  • updateEndpoint(token: any): void