Could someone share an example of this? I have been trying but debugging is taking a lot of time (I am actually waiting 24 hours to see if it works)
var notification = Ti.App.iOS.scheduleLocalNotification({ alertBody: "XXX", alertAction: "YYY", userInfo: { "data": "data" }, repeat: "daily", badge: 1, date: new Date(new Date().getTime() + 86400000) // 24 hours after the app is closed });This works fine, its a notification 24 hours after I close the app, but is there a way to do this without closing the app.. let's say I want to register the notification at 9am everyday and that's it... it confuses me that "repeat" argument...
Thanks in advanced
1 Answer
I see another problem with Local Notifications. They are being fired twice. Is this a known issue?
Your Answer
Think you can help? Login to answer this question!