Screen

LockScreenLoggerCDVPlugin
ttatarinov0.10
platforms: ios
$ cordova plugin add com.citronium.lockscreenloggerplugin

lock-screen-logger-phonegap-plugin

Target Cordova

version 3.*

Supported paltforms

  • iOS

Instructions

  1. Add plugin to your project: cordova plugin add https://github.com/ttatarinov/lock-screen-logger-phonegap-plugin.git
  2. Enable the background mode "Voice over IP" in the "Capabilities" section of the XCode project.
  3. Call the Screen.start(screenOnCallback, screenOffCallback) function to start handling screen locking events. screenOnCallback and screenOffCallback are the methods to handling locking events.

License

Apache License, Version 2.0

Credits

(c) Citronium, 2014