feat: 更新健康数据权限描述,添加HRV数据获取测试功能,优化后台任务配置,调整压力计显示单位

This commit is contained in:
2025-09-06 16:34:56 +08:00
parent 2df747109c
commit 2e7daae519
7 changed files with 107 additions and 20 deletions

View File

@@ -17,8 +17,11 @@
"NSCameraUsageDescription": "应用需要使用相机以拍摄您的体态照片用于AI测评。",
"NSPhotoLibraryUsageDescription": "应用需要访问相册以选择您的体态照片用于AI测评。",
"NSPhotoLibraryAddUsageDescription": "应用需要写入相册以保存拍摄的体态照片(可选)。",
"NSUserNotificationsUsageDescription": "应用需要发送通知以提醒您喝水和站立活动。",
"UIBackgroundModes": [
"processing"
"processing",
"fetch",
"remote-notification"
]
}
},
@@ -55,7 +58,7 @@
"react-native-health",
{
"enableHealthAPI": true,
"healthSharePermission": "应用需要访问您的健康数据(步数能量消耗)以展示运动统计。",
"healthSharePermission": "应用需要访问您的健康数据(步数能量消耗、心率变异性等)以展示运动统计和压力分析。",
"healthUpdatePermission": "应用需要更新您的健康数据(体重信息)以记录您的健身进度。"
}
],