Files
digital-pilates/app.json
richarjiang 5a4d86ff7d feat: 更新应用配置和引入新依赖
- 修改 app.json,禁用平板支持以优化用户体验
- 在 package.json 和 package-lock.json 中新增 react-native-toast-message 依赖,支持消息提示功能
- 在多个组件中集成 Toast 组件,提升用户交互反馈
- 更新训练计划相关逻辑,优化状态管理和数据处理
- 调整样式以适应新功能的展示和交互
2025-08-16 09:42:33 +08:00

58 lines
1.7 KiB
JSON

{
"expo": {
"name": "普拉提助手",
"slug": "digital-pilates",
"version": "1.0.3",
"orientation": "portrait",
"icon": "./assets/images/logo.jpeg",
"scheme": "digitalpilates",
"userInterfaceStyle": "light",
"newArchEnabled": true,
"jsEngine": "jsc",
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.anonymous.digitalpilates",
"infoPlist": {
"ITSAppUsesNonExemptEncryption": false,
"NSCameraUsageDescription": "应用需要使用相机以拍摄您的体态照片用于AI测评。",
"NSPhotoLibraryUsageDescription": "应用需要访问相册以选择您的体态照片用于AI测评。",
"NSPhotoLibraryAddUsageDescription": "应用需要写入相册以保存拍摄的体态照片(可选)。"
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/logo.jpeg",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"package": "com.anonymous.digitalpilates"
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/logo.jpeg"
},
"plugins": [
"expo-router",
[
"expo-splash-screen",
{
"image": "./assets/images/logo.jpeg",
"imageWidth": 200,
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
],
[
"react-native-health",
{
"enableHealthAPI": true,
"healthSharePermission": "应用需要访问您的健康数据(步数与能量消耗)以展示运动统计。"
}
]
],
"experiments": {
"typedRoutes": true
}
}
}