Local notification
With platform mobile you can schedule local notifications on the device without needing to use firebase.
addDelayNotification(notificationTag, delayMS, title, message, actionId, optionalParams)
Set up a notification scheduled in the specified milliseconds
notificationTag
notification unique indentifier
delayMS
milliseconds to wait before sending the notification
title
notification title
message
notification message
actionId
actionId call when user interact with the notification
optionalParams
JSON string passed to the notification action
addPeriodNotification(notificationTag, delayMS, repeatIntervalMS, endDelayMs, title, message, actionId, optionalParams) {
Set up a periodic notification scheduled in the specified milliseconds
notificationTag
notification unique indentifier
delayMS
milliseconds to wait before sending the notification
repeatIntervalMS
every how many milliseconds to repeat the notification
title
notification title
message
notification message
actionId
actionId call when user interact with the notification
optionalParams
JSON string passed to the notification action
removePeriodicNotification(notificationTag)
Remove periodic notification
removeAllNotification
Remove all notificaitons
Last updated