Since hot-updater does not work in dev environment, you need to test it in Release mode as shown below.
hot-updater.config.ts
is properly configured.HotUpdater.wrap
is properly implemented.Use the commands below to simulate downloading from the app store. Running in Release mode will lock the bundle to your current code.
Deploy with interactive mode and force update flag enabled in hot-updater deploy mode.
When HotUpdater.wrap
is set up, updates will be applied either when you restart the app or call HotUpdater.runUpdateProcess
.
You can check the update progress status using useHotUpdaterStore
.
This is the standard deployment mode. After an update is created, users need to restart their app after downloading the bundle for the update to take effect.
This is the emergency deployment mode. After an update is created, the bundle will automatically reload and apply the update as soon as users download it.
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
.