Compare commits

...

2 Commits

Author SHA1 Message Date
wangjia 5278bea940 chore: release v1.0.20
Deploy / build-linux-web (push) Successful in 47s
Deploy / build-macos (push) Successful in 1m14s
Deploy / build-android (push) Successful in 1m12s
Deploy / build-ios (push) Successful in 8s
Deploy / build-windows (push) Failing after 12m32s
Deploy / release-deploy (push) Has been skipped
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 14:40:43 +08:00
wangjia 0bc3f4b702 fix(client): Android release 包缺少 INTERNET 权限导致登录页「服务不可达」
release 包走 main AndroidManifest,Flutter 模板默认只在 debug/profile 清单
注入 INTERNET 权限,主清单不带;强制 release 签名后联网权限缺失,所有网络
请求失败。在主清单显式声明 android.permission.INTERNET。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 14:39:23 +08:00
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.20] - 2026-06-07
### 修复
- 修复 Android 客户端登录页提示「服务不可达」、无法连接服务器的问题(正式版安装包此前缺少联网权限)
## [1.0.19] - 2026-06-07
### 改进
@@ -1,4 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- release 包走此主清单,必须显式声明联网权限;debug/profile 清单由 Flutter 模板自动添加,
release 不带会导致所有网络请求失败(登录页显示「服务不可达」)。 -->
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="岩美酒库"
android:name="${applicationName}"