icon

Bitrise CodePush Publish

Bundle React Native or Expo JavaScript and push it as an OTA update to Bitrise CodePush.

Bundles the JavaScript code (and assets) of a React Native project and publishes it as an over-the-air (OTA) update to a Bitrise CodePush deployment.

Configuring the Step

  1. Add the Step to a Workflow after your JS dependencies are installed (or leave Skip dependency install unchecked and let the Step run the install for you).
  2. Set Target platform to ios or android. Each run only bundles and publishes for one platform; to update both iOS and Android, add the Step twice, once per platform.
  3. Set CodePush app ID and Deployment (name, e.g. Staging, or UUID) for the app you're publishing to.
  4. Set Target app version to the native app version this update targets (e.g. 1.2.0).
  5. Set Bitrise API token as a Secret.
  6. Optionally set Rollout percentage, Mandatory update, and Disable after upload to control how the update is rolled out.

The Step auto-detects your project's entry file and Hermes bytecode configuration; overrides are available under Bundling options if auto-detection doesn't fit your project layout. Expo projects are supported too — the Step detects Expo vs. bare React Native automatically from your project's package.json.

The built package is exported under $BITRISE_DEPLOY_DIR, so a subsequent Deploy to Bitrise.io Step picks it up automatically and it shows up on the build's Artifacts tab, with no extra wiring needed.

Useful links

Similar steps

This step allows you to publish your application to your private app store on Appaloosa Store

This step uses AppZung CLI to deploy your React Native update to AppZung CodePush

Runs a specified Workflow from the bitrise.yml file.

This is a step to run snyk SAST and dependencies scanning for mobile apps