Hi,
I would like to use “local notifications” in my next app. I read the docs at
https://docs.coronalabs.com/guide/events/appNotification/index.html
But I still have a couple of questions.
1- The system seems to work based on setting a notification time/date in the future. How would I go about setting a repeat notification? For example, if I want the app to remind me every Mon/Wed/Fri @ 9:00 am to do 10 push ups and on Tue/Thu/Sat @ 8:00 am to do 7 sit ups. Is there a way to set repeat notifications?
2- The Docs say we need to use Coordinated Universal Time (UTC). Let’s say I ask the users to enter when they wanted the notification to trigger. The user will use a drop down box to enter hour/minute in local time. How do I convert the user’s entered time to UTC?
One way I can think of for doing number 1 above is to wait for one notification to trigger and schedule the next notification in the event Listener for the first event. But if the user ignores the notification for one day or just dismisses it instead of clicking on it, that would stop all notifications.
Thanks.