React Native library for superpro video calls
npm install @wewake/superpro-react-nativeReact Native library for superpro video calls
``sh`
npm install @wewake/superpro-react-native
`js
import SuperproReactNative from "@wewake/superpro-react-native";
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}
/>
`$3
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)
`sh``
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.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT