react-native-callintent
A React Native call intent for Android.
Installation
npm install --save react-native-callintent
Add it to your android project
- In
android/setting.gradle
...include ':RNCallIntent', ':app'project(':RNCallIntent').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-callintent')
- In
android/app/build.gradle
...dependencies { ... compile project(':RNCallIntent')}
- In app/src/main/AndroidManifest.xml add permission to use call
- register module (in MainActivity.java)
// <--- import
Example
var CallIntent = ; CallIntent;
License
MIT