react-native-pagecall
Supported platforms
Installation
Using npm
npm install react-native-pagecall --save
Using yarn
yarn add @react-native-pagecall
Link
CLI autolink feature links the module while building the app.
Use CocoaPods to add the native RNPageCall
to your project:
npx pod-install
react-native link @react-native-pagecall
Usage
Importing
import RNPagecall from 'react-native-pagecall';
Start PageCall
RNPagecall.call("https://pplink.net/call", "publicRoomId", null);
Start live streaming
RNPagecall.startLiveStreamingWithURL("https://pplink.net/live/test_room");
Add a Privacy Policy
You can add a Privacy Policy to your iOS project's info.plist like shown below.
<key>NSCameraUsageDescription</key>
<string>Blink uses your camera to make video calls.</string>
<key>NSContactsUsageDescription</key>
<string>Blink needs access to your contacts in order to be able to call them.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Blink uses your microphone to make calls.</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Our application needs permission to write photos...</string>