Skip to content

nightstomp/iosct

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iosct

iOS call trap cordova plugin

Install

cordova plugin add https://github.com/creox-cz/iosct.git

Use

cordova.plugins.IOSCT.registerListener((s) => {
    console.log('IOSCT - Listener registered')
    window.addEventListener('IOSCT.callStatusChanged.incoming', function(event) {
        console.log('Someone calls you')
    })
    window.addEventListener('IOSCT.callStatusChanged.ended', function(event) {
        console.log('Call is ended')
    })
    window.addEventListener('IOSCT.callStatusChanged.connected', function(event) {
        console.log('Call is active')
    })
    window.addEventListener('IOSCT.callStatusChanged.dialing', function(event) {
        console.log('You call someone')
    })
}, (e) => {
    console.log('IOSCT - Listener NOT registered')
})

About

Cordova plugin for iOS call detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 92.1%
  • JavaScript 7.9%