PushNotificationIOS.scheduleLocalNotification()

static scheduleLocalNotification(details)

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.
  • alertAction : The "action" displayed beneath an actionable notification. Defaults to "view";
  • soundName : The sound played when the notification is fired (optional).
  • category : The category of this notification, required for actionable notifications (optional).
  • userInfo : An optional object containing additional notification data.
  • applicationIconBadgeNumber (optional) : The number to display as the app’s icon badge. Setting the number to 0 removes the icon badge.
doc_React_Native
2016-06-23 04:25:02
Comments
Leave a Comment

Please login to continue.