Skip to content

liamse/react-native-call-observer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-call-observer · PRs Welcome

Native call observer for iOS.


Usage (iOS)

npm install --save react-native-call-observer

or

yarn add react-native-call-observer 

Adding automatically with react-native link

At the command line, in your project folder, type:

react-native link react-native-call-observer

Example

import callObserver from 'react-native-call-observer';

componentDidMount(){
    callObserver.addEventListener((callStatus)=>{
      console.log(callStatus) // e.g. {callStatus: 'ended'}
    })
}

Contributing

Any contribution is welcomed.


Licence

react-native-call-observer is MIT licensed.

About

react-native module to get the status of calls with CXCallObserver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published