diff --git a/docs/pushnotificationios.html b/docs/pushnotificationios.html index 21b5048c86a..fbc58fe7043 100644 --- a/docs/pushnotificationios.html +++ b/docs/pushnotificationios.html @@ -1,5 +1,5 @@ PushNotificationIOS – React Native | A framework for building native apps using React

PushNotificationIOS

Handle push notifications for your app, including permission handling and -icon badge number.

To get up and running, configure your notifications with Apple +icon badge number.

To get up and running, configure your notifications with Apple and your server-side system. To get an idea, this is the Parse guide.

Methods #

static presentLocalNotification(details: Object) #

Schedules the localNotification for immediate presentation.

details is an object containing:

  • alertBody : The message displayed in the notification alert.

static scheduleLocalNotification(details: Object) #

Schedules the localNotification for future presentation.

details is an object containing:

  • fireDate : The date and time when the system should deliver the notification.
  • alertBody : The message displayed in the notification alert.

static setApplicationIconBadgeNumber(number: number) #

Sets the badge number for the app icon on the home screen

static getApplicationIconBadgeNumber(callback: Function) #

Gets the current badge number for the app icon on the home screen

static addEventListener(type: string, handler: Function) #

Attaches a listener to remote notification events while the app is running in the foreground or the background.

Valid events are:

  • notification : Fired when a remote notification is received. The handler will be invoked with an instance of PushNotificationIOS.
  • register: Fired when the user registers for remote notifications. The