feat: 新增基础代谢率功能及相关组件

- 在健康数据中引入基础代谢率的读取和展示,支持用户记录健身进度
- 更新统计页面,替换BMI卡片为基础代谢卡片,提升用户体验
- 优化健康数据获取逻辑,确保基础代谢数据的准确性
- 更新权限描述,明确应用对健康数据的访问需求
This commit is contained in:
2025-08-21 22:53:22 +08:00
parent 098c65b23e
commit f10b7a0fb5
7 changed files with 538 additions and 34 deletions

View File

@@ -47,7 +47,8 @@
"react-native-health",
{
"enableHealthAPI": true,
"healthSharePermission": "应用需要访问您的健康数据(步数与能量消耗)以展示运动统计。"
"healthSharePermission": "应用需要访问您的健康数据(步数与能量消耗)以展示运动统计。",
"healthUpdatePermission": "应用需要更新您的健康数据(体重信息)以记录您的健身进度。"
}
]
],