fix(android): 修复 release 版无法联网(缺 INTERNET 权限);发布 v1.2.2
- 根因:Flutter 模板只在 debug/profile 清单中声明 INTERNET,release 包默认没有, 导致发布版「检查更新」与「AI 生成」全部无法联网 - 主清单补充 INTERNET 权限,并新增 network_security_config:仅对更新服务器 放行明文 HTTP(其余域名仍禁止) - UpdateService.check 支持传入模拟版本(自检用);新增 tool/check_update.dart 开发自检工具,可直接验证更新链路 - 版本号 1.2.2+14
This commit is contained in:
+1
-1
@@ -2124,7 +2124,7 @@ class HelpDialog extends StatelessWidget {
|
||||
Text('时序图设计 · Sequence Diagram Studio',
|
||||
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
|
||||
const SizedBox(height: 4),
|
||||
Text('V1.2.1(${android ? '安卓版' : 'Windows 版'})',
|
||||
Text('V1.2.2(${android ? '安卓版' : 'Windows 版'})',
|
||||
style: TextStyle(color: t.dim, fontSize: 12)),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user