Expo Setup

Configure NitroPush with the Expo config plugin.

Edit

Add the plugin to app.json using the deployment key copied from the dashboard:

{
  "expo": {
    "plugins": [
      [
        "@nitropush/react-native",
        {
          "deploymentKey": "PROD-XXXXXX",
          "bundlePublicKey": "BASE64_DER_PUBLIC_KEY",
          "requireBundleSigning": true,
          "ios": true,
          "android": true
        }
      ]
    ]
  }
}

Run prebuild and rebuild the native app:

npx expo prebuild
npx expo run:ios
# or
npx expo run:android

The plugin writes the deployment and signing public keys into native configuration and adds the release-only bundle loader hooks. Debug builds still use Metro. Unsigned projects may omit the two signing options; when dashboard signing is enabled, keep requireBundleSigning: true so a missing key fails prebuild.

Prebuild is required

Changing the plugin options does not update an already-built binary. Run expo prebuild and rebuild both platforms after configuration changes.

Next, add the SDK lifecycle to your JavaScript entry point.