react-native-sdk-v2

0.1.0 • Public • Published

Jitsi Meet React Native SDK

Installation

Inside your project, run npm i @jitsi/react-native-sdk.

Additionally if not already installed, the following dependencies need to be added:
npm i @react-native-async-storage/async-storage react-native-webrtc

iOS

Project Info.plist

  • Add a Privacy - Camera Usage Description
  • Add a Privacy - Microphone Usage Description

General

  • Signing & capabilites:
    • Add Background modes
      • Audio
      • Voice over IP
      • Background fetch
  • Add Copy Sounds step:
    SOUNDS_DIR="${PROJECT_DIR}/../node_modules/rnsdk/sounds"
    cp $SOUNDS_DIR/* ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/

Podfile

  • At the beginning of your target step add pod 'ObjectiveDropboxOfficial', :modular_headers => true

Run cd ios && pod install && cd ..

Android

  • In your build.gradle have at least minSdkVersion = 24
  • TODO: HOW TO ADD COPY SOUNDS STEP
  • Under the </application> tag of your AndroidManifest.xml make sure that it includes
      <uses-permission android:name="android.permission.RECORD_AUDIO" />
      <uses-permission android:name="android.permission.CAMERA" />
    

TODOS

  • Ref ConnectionService to not rely on ReactInstanceHolder anymore
  • Add Copy Sounds step to build.gradle
  • Include copy sounds step in podspec (if possible)
  • Add ranges for dependencies
  • Add Build_Config for react native to AppInfoModule

Readme

Keywords

Package Sidebar

Install

npm i react-native-sdk-v2

Homepage

jitsi.org

Weekly Downloads

3

Version

0.1.0

License

Apache-2.0

Unpacked Size

19.7 MB

Total Files

2022

Last publish

Collaborators

  • daniel_silva