react-native-speakerr
v1.0.1
Published
Linphone is a free VoIP and video softphone based on the SIP protocol. # Installation
Downloads
3
Readme
Linphone is a free VoIP and video softphone based on the SIP protocol.
Installation
npm install react-native-linphone--save
Installation (Android)
- Make sure to specify minSDKVersion in your build.gradle file >=23 and targetSdkVersion <=27.
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.liblin"
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
```
2. Don't forget import org.linphone.reactLin.LinphonePackage in MainApplication. This file exists under the android folder in your react-native application directory. The path to this file is: 'android/app/src/main/java/com/your-app-name/MainApplication.java'
```java
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new LinphonePackage()); // <-- Add this line with your package name.
}