Hello, people! I have a little misunderstanding here. I want to schedule my notification to pop up once per 2 days. I tested the code Corona guys provided, but when i set it, i thought that application will send notification EVERY 9 minutes. But it sent it only once after 9 minutes.
Can someone please tell me how can i approach my goal? Thank you!
Here is Corona official code i am talking about
local futureTime = 9 \* 60 --9 minute alarm "snooze" --OR: local futureTime = os.date( "!\*t", os.time() + (9 \* 60) ) local options = { alert = "Wake up!", badge = native.getProperty( "applicationIconBadgeNumber" ) + 1, sound = "alarm.caf", custom = { msg = "Alarm" } } local notificationID = system.scheduleNotification( futureTime, options )