chore: 移除NFC/蓝牙相关支持,更新设备在线统计,新增功能优化

1.  移除NFC和蓝牙相关依赖、权限及功能代码,精简传输链路
2.  重构设备在线统计逻辑,使用后端7天活跃字段替代本地计算
3.  更新应用名称、权限说明和协议文档
4.  新增消息转发、缓存管理、医疗免责提示功能
5.  优化运势模块和字体管理文案,修复构建日志问题
This commit is contained in:
Developer
2026-06-06 06:12:09 +08:00
parent e0329ab103
commit 214a0684d0
122 changed files with 5849 additions and 3710 deletions

View File

@@ -77,6 +77,7 @@ dependencies:
# --- 权限 ---
permission_handler: ^12.0.1 # 运行时权限请求
app_tracking_transparency: ^2.0.6 # iOS App Tracking Transparency授权
# --- 本地通知 ---
flutter_local_notifications: ^21.0.0 # 本地推送通知
@@ -234,13 +235,17 @@ dependencies:
network_info_plus: ^8.1.0 # WiFi网络信息
flutter_webrtc: ^1.4.0 # WebRTC音视频通信
web_socket_channel: ^3.0.3 # WebSocket客户端
flutter_blue_plus: ^2.1.0 # 蓝牙BLE通信
flutter_nfc_kit: ^3.6.0 # NFC读写
mime: ^2.0.0 # MIME类型识别
mobile_scanner: ^7.1.4 # 二维码/条形码扫描
basic_utils: ^5.7.0 # 通用工具集(Base64/ASN1)
wifi_iot: ^0.3.19 # WiFi IoT设备连接
nearby_service: ^0.2.1 # 近场设备发现+通信
nearby_connections: ^4.1.1 # Google Nearby Connections(蓝牙发现+Wi-Fi Direct传输,仅Android/iOS)
# --- OAuth社交登录 ---
flutter_web_auth: ^0.6.0 # 浏览器OAuth认证(GitHub登录)
google_sign_in: ^6.2.1 # Google登录
sign_in_with_apple: ^6.1.4 # Apple登录
flutter_localizations:
sdk: flutter # Flutter国际化支持
@@ -291,6 +296,8 @@ dependency_overrides:
web: ^1.1.0
timezone: ^0.11.0
win32: ^6.0.1
quill_native_bridge_windows: # 本地修补版(兼容win32 6.x)
path: packages/quill_native_bridge_windows
# ============================================================
# Flutter 配置