Cordova PhoneCall Trap
It is a Apache Cordova plugin to simplify handling phone call status and events in Android devices.
cordova plugin add cordova-plugin-calltrap --save
- Android 2.3.3 or higher
We have tried PhoneListener but it is only compatible with PhoneGap 1.6 and does not work with new Apache Cordova versions. Also, its deployment isn't as easy as an Apache Cordova plugin should be. We are thankful for their work, though.
http://stackoverflow.com/questions/28337385/cordova-long-running-location-service http://www.codeproject.com/Articles/548416/Detecting-incoming-and-outgoing-phone-calls-on-And https://github.com/renanoliveira/cordova-phone-call-trap
Cordova PhoneCall Trap is released under the MIT License.