#25 MiniAppWebViewPage + MiniAppRouter - webview_flutter 加载 {apiBaseUrl}/miniapp/{appId}/index.html?gameId=...&token=... - MiniAppFloatButton 接收 chatId/chatType,默认打开 WebView - BannerState 新增 appId 字段,由 GameBannerData.appId 填充 #26 open_filex 文件打开 - FileMessageBubble 下载完成后调用 OpenFilex.open(localPath) - 打开失败时 SnackBar 提示 #27 audioplayers 音频播放 - AudioPlaybackService(Notifier):单例 AudioPlayer,togglePlay/pause/seek - AudioMessageBubble 接入:播放态图标切换、进度 mm:ss 显示 #28 video_player + chewie 视频全屏 - VideoPlayerPage:本地文件 / HTTP 双模,chewie 控制栏 - VideoMessageBubble 默认 onTap → push VideoPlayerPage #29 红包领取排行榜详情页 - GET /payment/rp/detail → RpDetailData + RpRecordItem DTO - GetRpDetailUseCase + getRpDetailUseCaseProvider - RedEnvelopeDetailSheet:汇总行 + 领取排行列表,头像/昵称/金额/时间 #30 MINE_RP 地雷红包发包 UI - _RpType 新增 mine(MINE_RP),显示地雷金额输入框 - SendRpRequest.parameters 携带 mineAmount - RedEnvelopeBubble:非活跃状态直接打开详情,活跃状态领取后打开排行榜 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
131 lines
2.7 KiB
YAML
131 lines
2.7 KiB
YAML
name: im_app
|
||
description: "Customer IM Client"
|
||
publish_to: none
|
||
version: 0.1.0
|
||
|
||
environment:
|
||
sdk: ^3.11.0
|
||
|
||
dependencies:
|
||
flutter:
|
||
sdk: flutter
|
||
|
||
# Workspace SDK packages - 使用 git dependency 控制版本
|
||
networks_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: networks_sdk/v0.0.1
|
||
path: packages/networks_sdk
|
||
|
||
storage_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: storage_sdk/v0.0.1
|
||
path: packages/storage_sdk
|
||
|
||
media_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: media_sdk/v0.0.1
|
||
path: packages/media_sdk
|
||
|
||
rtc_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: rtc_sdk/v0.0.1
|
||
path: packages/rtc_sdk
|
||
|
||
notification_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: notification_sdk/v0.0.1
|
||
path: packages/notification_sdk
|
||
|
||
protocol_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: protocol_sdk/v0.0.1
|
||
path: packages/protocol_sdk
|
||
|
||
l10n_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: l10n_sdk/v0.0.1
|
||
path: packages/l10n_sdk
|
||
|
||
cipher_guard_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: cipher_guard_sdk/v0.0.1
|
||
path: packages/cipher_guard_sdk
|
||
|
||
im_log_sdk:
|
||
git:
|
||
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||
ref: im_log_sdk/v0.0.1
|
||
path: packages/im_log_sdk
|
||
|
||
# 状态管理 - Riverpod
|
||
flutter_riverpod: ^3.0.0
|
||
riverpod_annotation: ^4.0.0
|
||
|
||
# 不可变状态 - Freezed
|
||
freezed_annotation: ^3.0.0
|
||
|
||
# JSON 序列化
|
||
json_annotation: ^4.8.1
|
||
|
||
# 路由导航
|
||
go_router: ^12.0.0
|
||
|
||
# 网络状态监听
|
||
connectivity_plus: ^6.1.0
|
||
|
||
# JWT 解析(token 过期检测、主动刷新)
|
||
dart_jsonwebtoken: ^3.1.0
|
||
|
||
# 数据库(schema 定义在 im_app,连接/CRUD 封装在 storage_sdk)
|
||
drift: ^2.22.0
|
||
|
||
# 设备信息(deviceId / deviceName)
|
||
device_info_plus: ^11.0.0
|
||
|
||
# 文件打开(#30)
|
||
open_filex: ^4.4.1
|
||
|
||
# 音频播放(#31)
|
||
audioplayers: ^6.1.0
|
||
|
||
# 视频播放(#32)
|
||
video_player: ^2.9.2
|
||
chewie: ^1.9.0
|
||
|
||
# 小程序 WebView(#25)
|
||
webview_flutter: ^4.8.0
|
||
|
||
|
||
dev_dependencies:
|
||
flutter_test:
|
||
sdk: flutter
|
||
integration_test:
|
||
sdk: flutter
|
||
|
||
# 代码生成
|
||
drift_dev: ^2.22.0
|
||
build_runner: ^2.4.6
|
||
riverpod_generator: ^4.0.0
|
||
freezed: ^3.0.0
|
||
json_serializable: ^6.7.1
|
||
|
||
# 代码检查
|
||
flutter_lints: ^6.0.0
|
||
very_good_analysis: ^5.1.0
|
||
|
||
# 测试
|
||
mocktail: ^1.0.1
|
||
|
||
flutter:
|
||
uses-material-design: true
|
||
assets:
|
||
- assets/
|