Files
easynode/mobile/pubspec.yaml
T
chaos-zhu 1f118b289e chore(mobile): 添加移动端依赖与平台网络策略
- pubspec.yaml: 引入 dio/cookie_jar/dio_cookie_manager/flutter_secure_storage/
  shared_preferences/pointycastle/basic_utils/dartssh2/xterm/uuid。
- AndroidManifest.xml: 添加 INTERNET 权限,开启 cleartextTraffic 并指向
  network_security_config,允许用户自托管 HTTP EasyNode 服务端连接。
- network_security_config.xml: base-config 允许明文传输,信任系统与用户证书。
- iOS Info.plist: 添加 NSAppTransportSecurity NSAllowsArbitraryLoads,
  让 iOS 端可访问用户自托管的 HTTP 实例(与 README 说明的局域网/历史
  部署兼容场景一致)。
2026-05-16 16:55:50 +08:00

30 lines
494 B
YAML

name: mobile
description: "EasyNode mobile app."
publish_to: 'none'
version: 0.1.0+1
environment:
sdk: ^3.11.5
dependencies:
flutter:
sdk: flutter
dio: ^5.7.0
cookie_jar: ^4.0.8
dio_cookie_manager: ^3.1.1
flutter_secure_storage: ^9.2.2
shared_preferences: ^2.3.2
pointycastle: ^3.9.1
basic_utils: ^5.7.0
dartssh2: ^2.12.0
xterm: ^4.0.0
uuid: ^4.5.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
flutter:
uses-material-design: true