Hi there, I am trying to use the example given in https://developer.mozilla.org/en-US/docs/Web/API/MozAlarmsManager.getAll for one of my bugs, and it seems that it returns a different id everytime I try to get alarm.id and returns the current time in alarm.date.toString().
I still have no idea why is the mozAlarm Api doing so. Am I doing something wrong? Or is that code wrong? Or am I missing some prerequisites? Also, this link https://wiki.mozilla.org/WebAPI/AlarmAPI says "No, the getAll(...) only returns the alarms scheduled by the application. " If it only returns the alarms added by the app itself, then what would be the correct procedure to get the Alarm from the clock app. Will I have to use alarmdb.js to retrieve them? Thanks in advance!! _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
