Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 666 Bytes

File metadata and controls

24 lines (19 loc) · 666 Bytes

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