build: remove TWA
This commit is contained in:
+2
-2
@@ -46,13 +46,13 @@ grep versionCode android/app/build.gradle
|
||||
- 打完核对:`aapt2 dump badging` 的 versionCode、`apksigner verify --print-certs` 的证书,
|
||||
以及解包 grep 接口地址(内网地址必须为 0 次)
|
||||
- **一条命令出正式包**:`pnpm run android:apk`
|
||||
= `android:sync:prod` + `assembleRelease` + 用 `twa/android.keystore` 签名 + 复制到
|
||||
= `android:sync:prod` + `assembleRelease` + 用根目录 `android.keystore` 签名 + 复制到
|
||||
`android/app/release/app-release.apk`(已 gitignore),末尾会打印 versionCode、大小、
|
||||
sha256 和证书指纹
|
||||
- 签名凭证放在 `android/keystore.properties`(已 gitignore),格式见同目录
|
||||
`keystore.properties.example`;缺密码时脚本会直接拦住,不会产出 debug 包
|
||||
- 只重新打包、不重建 web:`pnpm run android:apk -- -SkipSync`
|
||||
- 仍然可以用 Android Studio 打包,但**签名必须是 `twa/android.keystore`**
|
||||
- 仍然可以用 Android Studio 打包,但**签名必须是根目录 `android.keystore`**
|
||||
(alias `gao-customer`,`CN=yeyu` / SHA-256 `3E:9C:CC:8A:…`),否则系统拒绝覆盖安装
|
||||
|
||||
### 3. 提高 CI 的兼容基线
|
||||
|
||||
Reference in New Issue
Block a user