[codex] 增加 Android Dev flavor 独立图标#90
Merged
utopiafar merged 1 commit intoMay 15, 2026
Merged
Conversation
19b8c54 to
d4a6f10
Compare
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.
背景
参考 #74 的 Android Early flavor 隔离做法,补齐开发版 APP 的独立 Android Dev flavor,避免本地开发包覆盖或污染 Stable / Early 数据。
改动
globalDev/cnDevAndroid product flavors:globalDev->com.memexlab.memex.devcnDev->com.memexlab.memex.cn.devMemex Dev/Memex Dev CN。D角标 launcher icon,和 Early 的橙色E区分。AppFlavor新增devchannel 识别,并让 update 环境能解析 Dev flavor 名称。README.md、README_CN.md和AGENTS.md中用尽量小的改动说明各 Flutter flavor 的含义。globalDev/cnDev,避免误用 Stable flavor 覆盖本地正式数据。验证
flutter pub get --offlinedart analyze lib/config/app_flavor.dart lib/data/services/app_update_service.dartflutter test test/data/services/app_update_service_test.dart --no-pubflutter build apk --debug --flavor globalDev --no-pubflutter build apk --debug --flavor cnDev --no-pubgit diff --checkPreflight