{"action":"created","issue":{"url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/3","labels_url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/3/comments","events_url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/3/events","html_url":"https://github.com/wnyc/cordova-plugin-wakeuptimer/issues/3","id":54031872,"number":3,"title":"Can't get it to work!","user":{"login":"abrararies","id":984351,"avatar_url":"https://avatars.githubusercontent.com/u/984351?v=3","gravatar_id":"","url":"https://api.github.com/users/abrararies","html_url":"https://github.com/abrararies","followers_url":"https://api.github.com/users/abrararies/followers","following_url":"https://api.github.com/users/abrararies/following{/other_user}","gists_url":"https://api.github.com/users/abrararies/gists{/gist_id}","starred_url":"https://api.github.com/users/abrararies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrararies/subscriptions","organizations_url":"https://api.github.com/users/abrararies/orgs","repos_url":"https://api.github.com/users/abrararies/repos","events_url":"https://api.github.com/users/abrararies/events{/privacy}","received_events_url":"https://api.github.com/users/abrararies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-01-12T09:04:31Z","updated_at":"2015-04-29T11:50:43Z","closed_at":"2015-04-29T11:50:43Z","body":"Hey I've been having a really hard time getting this to work. Someone please clear some things for me.\r\n1. What is the actions param? What does it take?\r\n2. What format does sounds take (dom element or something else)?\r\n3. If I just provide message param (string),  will it still work?\r\n\r\nHere is my code,\r\n\r\nvar successCallback = function(result) {\r\n    console.log('wakeup alarm detected-- '+ result);\r\n};\r\n\r\nvar errorCallback = function(result) {\r\n       console.log('wakeup alarm detected-- '+ result);\r\n};\r\n\r\nvar alarms = { type : 'snooze',\r\n                       time : {  seconds : 60  },\r\n                       extra : { },\r\n                       message : \"Hello!!\"\r\n                      }; \r\nconsole.log(\"set Alarm\");\r\nwindow.wakeuptimer.snooze( successCallback,  errorCallback, alarms);\r\n\r\nRight now whenever I try to set the alarm, successCallback is called immediately where result is set to null.\r\n\r\nPlease help me out.\r\nPS: I'm using it with Angualar"},"comment":{"url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/comments/97399658","html_url":"https://github.com/wnyc/cordova-plugin-wakeuptimer/issues/3#issuecomment-97399658","issue_url":"https://api.github.com/repos/wnyc/cordova-plugin-wakeuptimer/issues/3","id":97399658,"user":{"login":"bkammin","id":2634123,"avatar_url":"https://avatars.githubusercontent.com/u/2634123?v=3","gravatar_id":"","url":"https://api.github.com/users/bkammin","html_url":"https://github.com/bkammin","followers_url":"https://api.github.com/users/bkammin/followers","following_url":"https://api.github.com/users/bkammin/following{/other_user}","gists_url":"https://api.github.com/users/bkammin/gists{/gist_id}","starred_url":"https://api.github.com/users/bkammin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkammin/subscriptions","organizations_url":"https://api.github.com/users/bkammin/orgs","repos_url":"https://api.github.com/users/bkammin/repos","events_url":"https://api.github.com/users/bkammin/events{/privacy}","received_events_url":"https://api.github.com/users/bkammin/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T11:50:43Z","updated_at":"2015-04-29T11:50:43Z","body":"cordova.js is not included in the plugin - it is installed when you create a Cordova app (see http://cordova.apache.org)"}}