@wewake/superpro-react-native
v0.1.7
Published
React Native library for superpro video calls
Downloads
4
Readme
superpro-react-native
React Native library for superpro video calls
Installation
npm install @wewake/superpro-react-native
Usage Android & iOS
import SuperproReactNative from "@wewake/superpro-react-native";
<SuperproView
meetingId={SUPERPRO_MEETING_ID}
token={SUPERPRO_MEETING_TOKEN}
name={USERNAME}
callStatusChange={(e) => console.log('call status change: ' + e)}
videoStatusChange={(e) => console.log('video enabled: ' + e)}
audioStatusChange={(e) => console.log('audio enabled: ' + e)}
backPress={endCall}
/>
Properties:
meetingId: SUPERPRO_MEETING_ID can be obtained from Superpro.ai Team
token: SUPERPRO_MEETING_TOKEN can be obtained from Superpro.ai Team
name: USERNAME - Set user's name in open meetings (iOS only)
callStatusChange: Call status change callback (Android only)
videoStatusChange: Video status change callback (Android only)
audioStatusChange: Audio status change callback (Android only)
backPress: Back Button Press callback (Android only)
iOS Setup instructions
cd ios && pod install
Note:
- Go to your project build settings, search for Enable Bitcode and set it to NO
- Go to the Pods Project select SPVideo pod and in Build Settings, search for Enable Bitcode and set it to NO
Clean and Build the project.
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT