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

  1. Option 1 - if have access to npm SDK

    1. For React Native npm packages to fetch use npm login command to login in terminal

    2. Navigate to your project directory in the terminal and run npm install <sdk-package-name> to add the SDK as a dependency.

  2. Option 2 - if have access token

    1. 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?