I’m finding the documentation for this very confusing.
Refer to this:
The documentation only shows examples of how to schedule a notification but does not show examples of how to update an existing one. And also, what exactly is the difference between a “clear(id)” vs. “cancel(id)”, and a “isPresent(id)” vs “isScheduled(id)”?
Would a good example of updating or scheduling a notification be something like this?
this.localNotifications.isPresent(notifId).then(isPresent => {
alert(isPresent); // update()
}, isntPresent => {
alert(isntPresent); // schedule
});