diff --git a/docs/pushnotificationios.html b/docs/pushnotificationios.html index e162a84f0a6..d920550343c 100644 --- a/docs/pushnotificationios.html +++ b/docs/pushnotificationios.html @@ -1,14 +1,19 @@
Handle push notifications for your app, including permission handling and 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.
To enable support for notification and register events you need to augment your AppDelegate.
At the top of your AppDelegate.m:
#import "RCTPushNotificationManager.h"
And then in your AppDelegate implementation add the following:
To enable support for notification and register events you need to augment your AppDelegate.
At the top of your AppDelegate.m:
#import "RCTPushNotificationManager.h"
And then in your AppDelegate implementation add the following:
Schedules the localNotification for immediate presentation.
details is an object containing:
alertBody : The message displayed in the notification alert.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.Cancels all scheduled localNotifications
Sets the badge number for the app icon on the home screen
Gets the current badge number for the app icon on the home screen
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