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.
Please login to continue.