Open rashnk opened 8 years ago
If you look at the source code here: https://github.com/wnyc/cordova-plugin-wakeuptimer/blob/master/src/android/WakeupPlugin.java#L161 you can see that it accepts a parameter named daylist that should contain an array of days in week when the alarm should be set (you can see the string constant at the top of the file, "sunday", "monday" etc.).
Could you please post an example how to do it.
alarms : [{
type : 'daylist',
days : ["sunday", "monday"]
}]
But can this plugin work for a particular date ? (Days are Sunday etc), but date is 9th Oct 2016 etc Basically i want to set up a reminder (as alarm for a particular Date)
I surveyed the source code and I would say that it's not possible, but maybe I'm wrong.
Is this plugin working for you? In all my tests I always receive a message "error: invalid json " Do you know why?
i would like to know if there any way to set alarm for a date