feat(system): write to system media for tack photo

This commit is contained in:
Timi
2026-11-18 14:08:47 +08:00
parent 635192eae1
commit 60cadff951
8 changed files with 289 additions and 1 deletions
+2
View File
@@ -40,6 +40,8 @@ grep versionCode android/app/build.gradle
- 增删插件后执行 `pnpm exec cap sync android`
- 确认 `capacitor.config.ts` 无遗漏
- **`minSdkVersion` 已是 29(Android 10+)**:下一次发壳,Android 9 及以下的机器装不上,
会永久停在旧版本。发之前先确认设备分布,别把一个还在用老系统的门店锁死
- **打壳前先 `pnpm run android:sync:prod` 重建资源**:它用 `.env.production` 构建并会清掉
残留的 `VITE_API_BASE_URL`。真机调试用的 `android:sync:dev`(或 `android:open`)会把局域网地址
写进 `dist` 和 `android/app/src/main/assets/public`,直接拿去打包就会打出一个连内网的正式包