0.3.6 • Published 8 years ago
react-native-check-phone-call-status v0.3.6
react-native-check-phone-call-status
Getting started
$ npm install react-native-check-phone-call-status --save
Mostly automatic installation
$ react-native link react-native-check-phone-call-status
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-check-phone-call-statusand addRNCheckPhoneCallStatus.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNCheckPhoneCallStatus.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Usage
Will return 'PHONE_ON' when phone is in use, and 'PHONE_OFF' when not in use.
import RNCheckPhoneCallStatus from 'react-native-check-phone-call-status';
RNCheckPhoneCallStatus.get((error, status) => {
console.log('Phone status is:', status);
});Would be great to have this for Android as well. Feel free to make a PR!
0.3.6
8 years ago
0.3.5
8 years ago
0.3.4
8 years ago
0.3.3
8 years ago
0.3.2
8 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago