Skip to content
react-native module to get the status of calls with CXCallObserver
Branch: master
Clone or download
liamse Merge pull request #1 from julioxavierr/master
Use Cocoa Touch Static Library instead of project
Latest commit 8047161 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ios add new line on EOF Jun 10, 2019
LICENSE minor change Jun 30, 2018
README.md add Yarn Jun 27, 2018
index.js minor change Jun 30, 2018
package.json use lib instead of project/workspace Jun 10, 2019

README.md

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.

You can’t perform that action at this time.