0.1.7 • Published 3 years ago

@wewake/superpro-react-native v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago