react-native-linphone-sdk
v0.7.9
Published
test
Downloads
567
Readme
react-native-linphone-sdk
for linephone
Installation
npm install react-native-linphone-sdk
IOS
Add Content To Podfile
source "https://gitlab.linphone.org/BC/public/podspec.git"
Android
add
allprojects {
repositories {
maven {
name "linphone.org maven repository"
url "https://linphone.org/maven_repository/"
content {
includeGroup "org.linphone"
}
}
}
}
to android/build.gradle
add
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
to AndroidManifest.xml
add
implementation 'androidx.media:media:1.2.0'
to build.gradle
Usage
import { multiply } from 'react-native-linphone-sdk';
// ...
const result = await multiply(3, 7);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library