- 后端新增 Apple 登录端点 /api/auth/apple-login - 新增 AppleTokenValidator 验证 IdentityToken - User 实体添加 AppleUserId 字段,Phone 改为可空 - 前端添加 sign_in_with_apple 依赖和 Apple 登录按钮 - 统一 Bundle ID 为 com.datalumina.YYA,显示名称为小脉健康 - 配置 DEVELOPMENT_TEAM 和 Sign in with Apple Entitlements - 补充 NSCamera/NSPhotoLibrary 权限描述 - 生产 API 地址改为 https://erpapi.datalumina.cn/xiaomai - Flutter 升级至 3.44.6 / Dart 3.12.2 Co-Authored-By: Claude <noreply@anthropic.com>
61 lines
966 B
YAML
61 lines
966 B
YAML
name: health_app
|
|
description: "健康管家 - AI 健康陪伴助手"
|
|
publish_to: 'none'
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.10.7
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
|
|
# 状态管理
|
|
flutter_riverpod: ^3.2.0
|
|
|
|
# HTTP 网络
|
|
dio: ^5.4.0
|
|
|
|
# 本地数据库
|
|
sqflite: ^2.4.0
|
|
path: ^1.9.0
|
|
|
|
# 图表
|
|
fl_chart: ^0.68.0
|
|
|
|
# 相机 & 图片 & 文件
|
|
image_picker: ^1.0.0
|
|
file_picker: ^10.3.7
|
|
|
|
# Markdown 渲染
|
|
flutter_markdown: ^0.7.0
|
|
|
|
# 推送(后期集成)
|
|
# jpush_flutter: ^3.4.5
|
|
|
|
# 蓝牙 BLE
|
|
flutter_blue_plus: ^1.34.0
|
|
permission_handler: ^11.3.0
|
|
|
|
# Apple 登录
|
|
sign_in_with_apple: ^6.1.0
|
|
|
|
# 基础图标
|
|
cupertino_icons: ^1.0.8
|
|
signalr_netcore: ^1.4.4
|
|
shadcn_ui: ^0.53.6
|
|
google_fonts: ^8.1.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/images/
|
|
- assets/branding/
|