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:
10
ota/expo-manifest.json
Normal file
10
ota/expo-manifest.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user