Menu

React Native OTA CI/CD: Test and Promote the Same Bundle
📰

React Native OTA CI/CD: Test and Promote the Same Bundle

DEV Community: reactnative·George Fean·7 days ago
#QKZ1sx5a
#devtoreactnative#devto#dev#hash#bundle
Long article (649 words) — no AI summary yet.
Reading 0:00
15s threshold

A green upload job tells you the update reached the server. Before production, I want a more specific answer: which JavaScript bundle did QA actually run?

An Android version can stay the same across several OTA releases, and a second upload can land on the test channel while QA is still working. Record the bundle hash at upload, verify it on a device, and use that hash to identify what gets promoted.

Publish to a test channel and keep the artifacts

This example uses Bundle Drop, which I maintain. It assumes a bare Android app with the SDK already integrated, a committed npm lockfile, and an existing develop channel. The version in android/app/build.gradle should match your test build. Use the same native configuration and compatible runtime inputs as that build.

Install dependencies with npm ci and run your normal checks first. Run this publishing step from the app root on a clean checkout of a reviewed branch. Map BUNDLE_DROP_PAT from your CI secret store into this step only.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.