Install the React Native OTA SDK

Add @otaupdate/react-native and the ota CLI to an Expo or bare React Native project, then connect the app with one command.

Two packages: the SDK goes in your app, the CLI publishes from your machine or CI.

terminal
npm install @otaupdate/react-native     # SDK — the device side
npm install -g @otaupdate/cli           # CLI — publishing (or use npx @otaupdate/cli)

One SDK version supports React Native 0.7x and 0.80+ alike, old and new architecture — there is no version to pin against your RN release.

Then connect the app. This is the same ota init from the quickstart:

terminal
ota login
ota init

It creates the project, writes ota.config.js and the release scripts, and prints one SDK key per channel. Now follow the guide for your project type:

Testing an unpublished build of the SDK

Pack it rather than installing by path — a path install creates a symlink that breaks Metro and autolinking:

terminal
cd packages/sdk && npm run build && npm pack --pack-destination /tmp
cd ~/MyApp && npm install /tmp/otaupdate-react-native-*.tgz