Skip to content

uniclau/AlarmPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlarmPlugin

Alarm plugin for Cordova/PhoneGap.

To install the plugin:

cordova plugins add https://github.com/uniclau/AlarmPlugin.git

To invoke the plugin:

navigator.plugins.alarm.set(alarmDate, 
function(){
  // SUCCESS
}, 
function(){
  // ERROR
})

alarmDate is the date that the application will wake up. This will happen even if the device has been rebooted.

The second and third parameters are the callbacks to handle the success or failure of the call, respectively.

About

Cordova plugin to wake up Android devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published