I have the following code to add a notification:
$cordovaLocalNotification.add({
id:"my-notification",
repeat:"daily",
date:time,
message:"a message"
});
But for some reason, when I run the code to cancel it:
cordova.plugin.notification.local.cancel("my-notification");
The notification isn't cleared. Nothing I do seems to clear the notification.