Installation
Step 1
To install the SDK in a React Native project, first ensure you have Node.js and npm installed on your system.
SDK is private for get acess to npm packages from Truvideo Support
Step 2
Option 1 - if have access to npm SDK
For React Native npm packages to fetch use
npm login
command to login in terminalNavigate to your project directory in the terminal and run
npm install <sdk-package-name>
to add the SDK as a dependency.
Option 2 - if have access token
directly run the command replace $access_token with your access token
npm i @trunpm/truvideo-react-turbo-core-sdk --//registry.npmjs.org/:_authToken=$access_token
npm install https://github.com/Truvideo/TruVideoReactCoreSdk.git
npm install https://github.com/Truvideo/TruVideoReactCameraSdk.git
npm install https://github.com/Truvideo/TruVideoReactMediaSdk.git
npm install https://github.com/Truvideo/TruVideoReactVideoSdk.git
npm install https://github.com/Truvideo/TruVideoReactImageSdk.git

Step 3
Check the installation in file package-lock.json

Step 4 (iOS specific)
In iOS folder run pod install
for installing all iOS specific dependencies
You're now ready to start using the Truvideo SDK in your Android app! Don’t forget to configure authentication next.
Last updated
Was this helpful?