Beta
Live updates are in Beta: the CLI, the SDK API and the configuration keys can still change. See What Beta means.
This page gets one update from your machine to a device. Each step links to the page that explains it. You need a paid plan (or a self-hosted license that includes Live updates), a Notti App, and a React Native 0.83+ or Expo 55+ project without expo-updates.
1. Collect what you need
From the dashboard, Settings > Keys & IDs (see Keys & IDs):
- the App ID;
- the client key (goes in the app);
- the REST key (secret, used by the CLI; rotate to see it).
Self-hosted: also have your Notti URL, and configure S3 storage first (see Self-hosted).
2. Create a signing key
npm install --save-dev notti-cli
npx notti ota keys generate --out notti-live-updates.private.pemIt writes the private key (never commit it) and prints the public key and its key_id. Then register the public key: dashboard, Live updates > Signing keys > Add key, and paste the PEM.
3. Install the SDK and configure the app
npx expo install react-native-notti-ota react-native-notti-ota-exponpm install react-native-notti-ota
cd ios && pod installExpo: remove expo-updates if you have it, then add the plugin to app.json:
{
"expo": {
"plugins": [
[
"react-native-notti-ota",
{
"appId": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f",
"baseUrl": "https://app.zeepnotti.app",
"clientKey": "your-client-key",
"channel": "production",
"runtimeVersion": "1.4.0",
"publicKeys": ["-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----"]
}
]
]
}
}Bare: add the six NottiOTA* keys to Info.plist and AndroidManifest.xml, return the selected bundle from bundleURL() on iOS and pass it to the React host on Android. The exact snippets are in the SDK install guide.
Self-hosted: set baseUrl to your Notti URL. If you build with Xcode 27, read Xcode 27 and the scene life cycle.
3b. Listen for updates (optional)
import { addUpdateReadyListener } from 'react-native-notti-ota';
// In your root component, early: the download often finishes seconds after launch.
const subscription = addUpdateReadyListener(({ releaseId, mandatory }) => {
if (mandatory) {
// Ask the user to restart the app; the SDK never restarts it.
}
});4. Build and install a Release binary
Live updates only act in Release builds. Debug builds always load from Metro. Build and install the binary the way you already do, with the runtime version you set in step 3.
5. Publish an update
Change some JavaScript, then run, from the project root, once per platform:
export NOTTI_API_KEY=... # the App REST key
export NOTTI_APP_ID=... # the App ID
export NOTTI_OTA_PRIVATE_KEY=./notti-live-updates.private.pem
npx notti ota release --platform android --runtime-version 1.4.0 --channel production
npx notti ota release --platform ios --runtime-version 1.4.0 --channel production--runtime-version and --channel must match the binary. Add --dry-run first to build and sign without uploading. Self-hosted: add --base-url https://notti.example.com.
6. See it on the device
- Open the installed app (it shows its first content), then close it and open it again. The SDK checks, downloads and verifies in the background, then loads the update on the next cold start.
- In the dashboard, Live updates > Releases, the release shows
Downloaded, thenAppliedcounts once it ran for 3 seconds without a fatal error.
If nothing happens, go to Troubleshooting.