@wewake/superpro-react-native
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

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

/@wewake/superpro-react-native/

    Package Sidebar

    Install

    npm i @wewake/superpro-react-native

    Weekly Downloads

    1

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    13 MB

    Total Files

    40

    Last publish

    Collaborators

    • wewake
    • abhi2794