18 Commits

Author SHA1 Message Date
Booker
15d767100a Refactor widget tests for H5 line generation and validation
- Simplified tests for H5 line creation, focusing on single line generation with a numeric 16-digit label.
- Updated assertions to validate the generated H5 line's label and URI structure.
- Removed redundant tests related to default H5 line URLs and local access, consolidating functionality into fewer tests.
- Added new tests to ensure correct URL generation from configured fallback order and query parameter handling.
- Enhanced test coverage for restoring cached H5 line URLs and validating their structure.
2026-06-06 03:48:20 +07:00
Booker
4b652a090d feat: 添加固定引导 H5 线路测试,用于环回浏览器和原生应用访问 2026-06-03 20:15:02 +07:00
Booker
d3550411b1 feat: 更新 H5 线路配置逻辑,添加默认线路处理和相关单元测试 2026-06-03 12:17:36 +07:00
Booker
a1e7b3e52c Refactor H5 line management and cache handling in WebView app
- Introduced shared_preferences for initial H5 cache management.
- Added methods to clear H5 caches and probe line availability.
- Enhanced error handling for line loading and switching.
- Removed openim_common package and its configurations.
- Updated widget tests to reflect changes in H5 line handling and URL management.
2026-05-29 17:56:55 +07:00
Booker
179a2332ae feat: 添加登录页面 URL 检测功能;更新 H5ShellPage 状态管理以支持路由变化 2026-05-27 13:16:35 +07:00
Booker
6e3920972b feat: 优化 H5 线路切换逻辑;实现独立 WebView 管理和状态控制 2026-05-27 13:03:50 +07:00
Booker
8659a2e66e feat: 添加 H5 线路切换功能;支持动态加载和切换不同线路的 URL 2026-05-27 12:53:47 +07:00
Booker
e5d3c12c15 fix: 更新 H5 主机地址为测试环境 2026-05-27 12:05:38 +07:00
Booker
bd3ccf7f2d chore: remove temporary H5 cache diagnostics 2026-05-26 22:22:07 +07:00
Booker
82b06f80b5 fix: 更新 H5 旧版主机为规范主机 2026-05-26 22:00:17 +07:00
Booker
2aa7a9dda9 fix: force H5 shell to use canonical web host 2026-05-26 21:57:03 +07:00
Booker
1e19f5f5f8 feat: 移除 H5 URL 中的品牌参数和缓存参数;更新测试用例以反映更改 2026-05-26 20:20:01 +07:00
Booker
2eef27a0e1 feat: 优化 H5 URL 生成逻辑,移除品牌参数;更新测试用例以反映更改 2026-05-26 20:09:38 +07:00
Booker
7702dee27f feat: 更新 WebView 数据目录,添加持久存储清理逻辑;优化 URL 生成和 H5 路由刷新时的品牌保持 2026-05-26 19:31:28 +07:00
Booker
48e4229cb7 feat: 配置 WebView 数据目录,优化 WebView 性能;更新 homeUrl 方法以支持更好的 URL 生成逻辑 2026-05-26 19:17:15 +07:00
Booker
b85422c1bc feat: 更新 homeUrl 方法以支持传递应用 logo,增强 URL 生成逻辑 2026-05-25 17:03:30 +07:00
Booker
cbe5bbb657 feat: 添加应用品牌信息支持,重构主页 URL 生成逻辑 2026-05-25 11:12:54 +07:00
Booker
37e4d73861 feat: 构建flutter 基座 2026-05-18 13:36:54 +07:00