Commit Graph

11 Commits

Author SHA1 Message Date
Max 318c829ced refactor: simplify icon assets and improve keystore resolution
- Remove separate icon_foreground.png, reuse icon.png for adaptive icon foreground
- Enhance resolveKeystoreFile() with root-relative → module-relative fallback
- Update documentation to reflect icon consolidation
- Update test bootstrap IP to 192.168.2.57
2026-03-23 17:53:53 +08:00
TangJo 0a17e1c4f7 feat:1.generate_app 兼容windows;2.支持windows 打包apk。 2026-03-23 16:34:02 +08:00
Max 435d99772c feat: 拆分启动与升级配置并补齐核心测试 2026-03-20 19:47:50 +08:00
Max 0d259334ee feat: 重构启动配置与升级配置分离,修复 WebView 错误浮层竞态条件
- 将 ShellRemoteConfig 拆分为 ShellBootstrapConfig(启动配置)和 ShellUpgradeConfig(升级配置)
- ShellBootstrapConfig 支持 initialUrl 和 preferredOrientations
- ShellUpgradeService 改为独立获取升级配置,不再依赖启动配置
- ShellEnvironment 新增 bootstrapConfigAsset / bootstrapConfigUrl / upgradeConfigUrl / copyWith
- 修复 WebView 错误浮层被 onPageFinished 重置的竞态条件
- 修复 Offstage 导致 Stack 坍缩为零尺寸的白屏问题,改用 Visibility
- 增强 recovery.dart 对原始 net::ERR_* 字符串的友好翻译
- 重新生成 3 个品牌应用(aixue / test / yunxiao)的图标和启动页资源
- aixue 应用改用 bootstrapConfigAsset 加载本地启动配置
- 移除 launch.json 中已废弃的 quanxue 配置
2026-03-20 17:23:03 +08:00
Max bf0f0e082f feat(publish): App 签名自动配置及依赖清理优化
- 新增 `generate_app.dart` 中的签名注入逻辑:读取 `signing` 节点或回退至默认 `tool/key.jks` 配置,自动生成 `android/key.properties`,并在 `build.gradle.kts` 中注入 `signingConfigs.release` 配置
- 修复: 在静态资源生成后主动运行 `flutter pub remove flutter_native_splash` 和 `flutter_launcher_icons` 避免其产生的编译阶段 Hook 破坏 Release 打包流程
- 执行: 重新生成并覆盖了 `test`、`aixue`、`yunxiao` 三个应用,现在可直接执行 `flutter build apk --release` 和 `appbundle` 上架构建
2026-03-20 11:47:59 +08:00
Max 4a235af054 feat(flavor): 新增云校嗨学 (yunxiao) 应用 Flavor 并支持自定义 defaultUrl
- 扩展:  支持注入  到
- 新增:  配置与资源图 (Icon & Splash)
- 产物: 生成  壳应用代码
2026-03-20 11:08:32 +08:00
Max dad37faecb feat(launch_overlay): 使用品牌 Logo 和 AppName 替换通用图标
- ShellEnvironment 新增 splashImage 字段支持品牌启动图标
- LaunchOverlay 使用 splash.png 替换 Icons.language_rounded
- 标题改为品牌名称(appName),移除副标题
- 加载指示器改为 CircularProgressIndicator 不定态转圈
- 使用 accentColor 主题色
- generate_app.dart 自动注册 assets/branding/ 并生成 splashImage 配置
- quanxue pubspec.yaml 注册 assets/branding/ 目录
2026-03-20 10:14:43 +08:00
Max 4438727b32 fix: 移除 flutter create 默认生成的 widget_test.dart 避免报找不到 MyApp 错误 2026-03-20 04:36:52 +08:00
Max 7735894c5c feat: 修复 generate_app.dart 品牌资源生成流程
- 重写 generate_app.dart:添加品牌名校验、--android-language java、
  自动安装 flutter_launcher_icons/flutter_native_splash dev 依赖、
  所有 Process.run 结果检查 exitCode
- 更新 quanxue.yaml:添加 branding 配置段
- 新增 flavors/quanxue/ 品牌资源目录(icon、foreground、splash)
- 重新生成 apps/quanxue(含品牌图标和启动页)
- 更新 README.md:品牌配置示例、资源规格说明、生成步骤
- 更新 web_shell_core/README.md:测试数量 54 → 67
2026-03-20 04:19:33 +08:00
Max 97be25b332 chore: 中文化日志注释 + 测试覆盖率 25→54 + iOS 清理 + 代码优化
- 全面中文化 debugPrint 日志(bridge_protocol, media_service, navigation_service, shell_page)
- Java 异常处理注释中文化(CoreShellActivity)
- 新增 29 个测试用例覆盖边界场景(URL/序列化/兼容性/错误映射/Accept类型/boolValue/MIME)
- 提取 _buildAndroidWidgetParams 方法,优化 summary getter 可读性
- 删除 iOS 相关文件(仅支持 Android 平板)
- 测试中使用 cascade notation 改进风格
2026-03-19 19:54:29 +08:00
Max a4a714f037 Refactor: migrate to Monorepo N-brand architecture with automated scaffolding 2026-03-19 16:58:03 +08:00