Skip to content

About

Cordova Plugin for detecting call state on android and ios

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example

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;
    }
});

About

Cordova Plugin for detecting call state on android and ios

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages