Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liamse/react-native-call-observer
react-native module to get the status of calls with CXCallObserver
https://github.com/liamse/react-native-call-observer
Last synced: about 1 month ago
JSON representation
react-native module to get the status of calls with CXCallObserver
- Host: GitHub
- URL: https://github.com/liamse/react-native-call-observer
- Owner: liamse
- License: mit
- Created: 2018-06-08T19:21:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T06:30:52.000Z (over 5 years ago)
- Last Synced: 2024-10-29T04:49:35.875Z (3 months ago)
- Language: Objective-C
- Size: 37.1 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - react-native-call-observer - Helps to observe call status like incoming, ended, and connected (iOS). (Components / Utils & Infra)
- awesome-react-native - react-native-call-observer - Helps to observe call status like incoming, ended, and connected (iOS). (Components / Utils & Infra)
- awesome-react-native - react-native-call-observer - Helps to observe call status like incoming, ended, and connected (iOS). (Components / Utils & Infra)
- awesome-react-native - react-native-call-observer - Helps to observe call status like incoming, ended, and connected (iOS). (Components / Utils & Infra)
README
# react-native-call-observer · [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](README.md#Contributing)
Native call observer for iOS.
---
## Usage (iOS)
```bash
npm install --save react-native-call-observer
```or
```bash
yarn add react-native-call-observer
```### Adding automatically with react-native link
At the command line, in your project folder, type:
```bash
react-native link react-native-call-observer
```---
## Example
```js
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.](https://github.com/liamse/react-native-call-observer/blob/master/LICENSE)