PhoneCallIntercept.onCall(function(state) {
console.log("CHANGE STATE: " + state);
switch (state) {
case "RINGING":
console.log("Phone is ringing");
break;
case "OFFHOOK":
console.log("Phone is off-hook/Ongoing Call");
break;
case "IDLE":
console.log("Phone is idle, call is ended");
break;
}
});
-
Notifications
You must be signed in to change notification settings - Fork 0
arvindder/tektician-call-intercept
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cordova Plugin for detecting call state on android and ios
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published