wnyc / cordova-plugin-wakeuptimer

Cordova plugin for a wakeup alarm clock
90 stars 111 forks source link

I can't find any code about this plugin in the SimpleAlarmExample #20

Open XuJiawan opened 7 years ago

XuJiawan commented 7 years ago

Hi, I got trouble when looking help from the alarm example. https://github.com/wnyc/cordova-plugin-wakeuptimer/tree/master/examples/SimpleAlarmExample

I can't find any codes in the index.html nor index.js about this plugin. It seems just to be an auto-generated sample cordova project. So I can't get any hints from the demo on how to use the plugin.

My problem is, when I create an alarm, I get a result of "OK", but then the alarm never fires when it times up.

I've read all issues and spend a lot of time in googling. But could not get any help. Could anyone point me a direction of using the plugin or show me a workable alarm example? Thanks very much! ^_^

evandrojr commented 7 years ago

+1

uxiya commented 7 years ago

+1

evandrojr commented 7 years ago

I had the same problem. I fixed it here at the branch example

https://github.com/evandrojr/cordova-plugin-local-notifications