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