Simulator Test

Since hot-updater does not work in dev environment, you need to test it in Release mode as shown below.

Checklist

  • Make sure hot-updater.config.ts is properly configured.
  • Make sure HotUpdater.wrap is properly implemented.

iOS Simulator Test

npm
pnpm
yarn
npx react-native run-ios --mode Release

Android Simulator Test

npm
pnpm
yarn
npx react-native run-android --mode Release

Deploy

Deploy with interactive mode and force update flag enabled in hot-updater deploy mode.

npm
pnpm
yarn
npx hot-updater deploy -i --force-update

Rollback

When you set a bundle's enabled status to false in the console, users who have that bundle will immediately force update to the previous bundle.

Open the console and set the bundle's enabled status to false.

npm
pnpm
yarn
npx hot-updater console