Cordova does not expose access to the native alarm function of the phone. There are Cordova plug-ins that allow you to work with the Android AlarmManager and iOS alarm:
- for iOS - https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/LocalNotification
- for Android - https://github.com/phonegap/phonegap-plugins/tree/master/Android/LocalNotification
It seems those plugins are pretty old and most likely not compatible with Cordova 2.7 where we introduced support for custom plugins. You would have to make the necessary modifications in order to be able to use it, see Requirements for Custom Apache Cordova Plugins
, Plugman specifications
and Making a Custom Plugin Plugman-Compatible
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.