wnyc / cordova-plugin-wakeuptimer

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

getExtras() is null, in WakeupPlugin.java, function onReset #2

Open JRaigoza opened 9 years ago

JRaigoza commented 9 years ago

The plugin doesn't allow start my app because the validation in onReset throw an exception, I get the values and found the problem was generated on getExtras(). I think, that the only change required is validate the extras and if there are no extras just not setAlarmsFromPrefs, am I right?