-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: cordova-ios 4.5.0
-
Fix Version/s: cordova-ios 4.5.0
-
Component/s: cordova-ios, Ionic
-
Labels:None
-
Environment:
I am using Xcode 9.4.1,
iOS-11.4,
ionic- version1,
cordova-ios@4.5.0,
This is the plugin I am using to get localnotifications:
https://github.com/katzer/cordova-plugin-local-notifications/tree/example
-
Flags:Important
Hi Team,
I am developing a hybrid application with cordova and ionic1 , In my application I am triggering a local notifications on particular dates at 8:00 PM, First notification is getting perfectly on time with expected title.But after that I am getting notification daily and notification with same title, If suppose two notification dates are come one after another , I am getting notification with previous title.I am scheduling a notification on specific dates only otherwise I am canceling the notification. Please help me on this.
This is my code:
var d = new Date();
d.setHours(20,0,0,0);
cordova.plugins.notification.local.schedule([
,
]);
}
else
{
cordova.plugins.notification.local.cancel(2, function ()
);
}
}