ninchat-demo-sdk
npm install react-native-ninchat-demo-sdk
The library depends on react-native-webview
which is a native module. So, we have to include it in package.json.
Add the following permissions under the tag:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.MICROPHONE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
- Update Project Info.plist:
<key>NSCameraUsageDescription</key>
<string>Cam</string>
<key>NSMicrophoneUsageDescription</key>
<string>Mic</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>fetch</string>
<string>voip</string>
</array>
import {JitsiView} from 'react-native-ninchat-demo-sdk';
// ...
<SafeAreaView style={styles.container}>
<JitsiView />
</SafeAreaView>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library