[codex] 增加 Android Early 应用内更新#86
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
Closes #85。
Android Daily Early 已经通过 GitHub prerelease 产出
globalEarly/cnEarlyAPK,但 Early 用户仍然需要自己打开 GitHub Releases、判断版本、选择 APK 并处理 Android 安装权限。这个 PR 在 Android Early 包内补齐应用内检测和安装引导,让 prerelease 分发形成更完整的使用闭环。改动
memex-lab/memexGitHub prerelease。Version: 1.0.30-early.YYYYMMDD.sha+BUILD_NUMBER。updates/目录。globalEarly/cnEarlyflavor 声明REQUEST_INSTALL_PACKAGES,Stable 包不增加该权限。设计说明
验证
flutter test test/data/services/app_update_service_test.dartflutter test test/ui/settings/widgets/early_update_settings_card_test.dartflutter build apk --debug --flavor globalEarlyflutter analyze 2>&1 | tee /tmp/memex_analyze.log >/dev/null; rg "error •|app_update|early_update|EarlyUpdate" /tmp/memex_analyze.log || trueflutter analyze仍有既有 warning/info 噪音,当前为 374 条。git diff --check已知限制
memex_api35AVD,但 adb 没有识别到设备,未完成模拟器安装/启动实测;已通过globalEarlydebug APK 构建验证 Android manifest merge 和 Kotlin channel 编译。