feat(expo): JS热更新(expo-updates) + APK大更新双轨

- app.json: expo-updates配置(checkAutomatically ON_LOAD)
- ota/expo-manifest.json: JS bundle热更新manifest
- App.tsx: 启动时自动检查JS+APK双轨更新
- pnpm install后npx expo prebuild生成android/原生工程
This commit is contained in:
LukeMackin
2026-07-19 23:40:17 +08:00
parent a2f204f5ee
commit e5ce52ac40
2 changed files with 18 additions and 23 deletions

10
ota/expo-manifest.json Normal file
View File

@@ -0,0 +1,10 @@
{
"version": "0.1.0",
"runtimeVersion": "0.1.0",
"assets": [],
"launchAsset": {
"key": "bundle",
"contentType": "application/javascript",
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-8/bundle.js"
}
}