fix(viewer): replace text arrow share icon with SVG share glyph

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 13:55:37 +08:00
parent 900ff2a74d
commit b353a3de06
54 changed files with 2130 additions and 14 deletions
+7
View File
@@ -30,6 +30,13 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
// R8 混淆会破坏 WorkManager 反射初始化(NoSuchMethodException
// WorkDatabase_Impl),ProGuard keep 规则见 proguard-rules.pro。
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
}
+8
View File
@@ -0,0 +1,8 @@
# WorkManager: R8 反射初始化需要保留构造器(P3 Task 7 后台上传桥接)
-keep class androidx.work.impl.WorkDatabase_Impl { *; }
-keep class androidx.work.** { *; }
-keep class androidx.startup.** { *; }
# OkHttp(原生上传传输):公开 API 保留即可,但 safety net 防混淆异常
-dontwarn okhttp3.**
-dontwarn okio.**
@@ -2,11 +2,13 @@
<!-- P3 Task 11:debug 构建专用网络策略。
targetSdk>=28 默认禁明文 HTTP,而本地联调后端/MinIO 观众端全部是
http://10.0.2.2(模拟器宿主回环)——release 不受影响(本文件只在
src/debug 变体参与合并)。仅放行宿主回环与本机回环,不放开全域。 -->
src/debug 变体参与合并)。放行宿主回环、本机回环与测试服务器 IP
(219.157.255.213,线上联调 http 反代 8088/8089),不放开全域。 -->
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">10.0.2.2</domain>
<domain includeSubdomains="false">127.0.0.1</domain>
<domain includeSubdomains="false">localhost</domain>
<domain includeSubdomains="false">219.157.255.213</domain>
</domain-config>
</network-security-config>
File diff suppressed because one or more lines are too long