feat(android): OTA双轨更新 — shared版本号+Android Expo/PackageInstaller

- packages/shared: 版本号解析 vX.Y.Z-dav-{client}-{build} + manifest远程检查
- packages/client-android: Expo52 + expo-updates JS bundle OTA
- PackageInstallerModule.kt: APK静默安装原生模块(~60行Kotlin)
- monorepo: pnpm workspace + 版本号体系
This commit is contained in:
LukeMackin
2026-07-19 01:41:36 +08:00
parent b12aef0375
commit 9f8659c293
15 changed files with 472 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{
"expo": {
"name": "YuzuGCA",
"slug": "yuzu-gca",
"version": "0.1.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "dark",
"newArchEnabled": true,
"splash": {
"backgroundColor": "#0f172a"
},
"ios": {
"supportsTablet": false,
"bundleIdentifier": "dev.yuzu.gca"
},
"android": {
"adaptiveIcon": {
"backgroundColor": "#0f172a"
},
"package": "dev.yuzu.gca",
"allowBackup": false,
"permissions": [
"REQUEST_INSTALL_PACKAGES"
]
},
"plugins": [
"expo-updates"
],
"updates": {
"enabled": true,
"checkAutomatically": "ON_LOAD",
"fallbackToCacheTimeout": 0,
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/manifest/expo-manifest.json"
},
"extra": {
"eas": {
"projectId": "yuzu-gca-android"
}
}
}
}