Hi All,
I’m implementing local notifications in my app and I can’t seem to find a way to set days (other than setting specific dates)
Like “Every Tuesday” “Everyday” etc.
I’ve used the documentation example (in this case set to 30secs for testing)
local function setAlarm() local futureTime = os.date( "!\*t", os.time() + (30) ) local options = { alert = "ALERT TEXT", custom = { msg = "Alert" } } local notificationID = system.scheduleNotification( futureTime, options ) end
I understand I should replace “!*t” for something equivalent to Every Tuesday or Everyday, etc…
Any help?