v0.12.3
What's Changed
You can inject the platform
into hot-updater.config.ts to optionally use the flag.
import { metro } from "@hot-updater/metro";
import { defineConfig } from "hot-updater";
// ... more import
export default defineConfig(({ platform }) => { // You can adjust it based on the platform you are using.
return {
build: metro({
enableHermes: platform === "ios",
}),
...
};
});
- refactor(mock): remove unnecessary await by @jingjing2222 in #141
- feat(config): platform injected to config by @gronxb @mstfmedeni in #143
Full Changelog: v0.12.2...v0.12.3