git clone https://github.com/Vidyo/vidyo.io-connector-react-native.git
Note: Highlighted steps are very important because samples already contain configurations specified below and both SDK packages are linked as relative folders located in VidyoConnector-react-native directory.
-
Download the latest Vidyo.io Android & iOS SDK packages:
https://static.vidyo.io/latest/package/VidyoClient-AndroidSDK.zip
https://static.vidyo.io/latest/package/VidyoClient-iOSSDK.zip
-
Unzip VidyoClient-AndroidSDK folder and move contents of
VidyoClient-AndroidSDK/lib/android
toVidyoConnector-react-native/android/app/libs/android
-
Unzip VidyoClient-iOSSDK folder and move contents of
VidyoClient-iOSSDK/lib/ios
toVidyoConnector-react-native/ios/lib/ios
Go to ./android/local.properties
and set location of the Android SDK
-
Follow next link and install all described dependencies.
https://facebook.github.io/react-native/docs/getting-started.html
-
Install dependencies.
yarn
-
Build and run the application on the iOS or Android device.
react-native run-ios
react-native run-android