Files
digital-pilates/app.json
richarjiang acb3907344 Refactor: Remove background task management and related hooks
- Deleted `useBackgroundTasks.ts` hook and its associated logic for managing background tasks.
- Removed `backgroundTaskManager.ts` service and all related task definitions and registrations.
- Cleaned up `Podfile.lock` and `package.json` to remove unused dependencies related to background tasks.
- Updated iOS project files to eliminate references to removed background task components.
- Added new background fetch identifier in `Info.plist` for future use.
2025-09-05 09:47:49 +08:00

77 lines
2.2 KiB
JSON

{
"expo": {
"name": "海豹健康",
"slug": "digital-pilates",
"version": "1.0.5",
"orientation": "portrait",
"icon": "./assets/images/Sealife.jpeg",
"scheme": "digitalpilates",
"userInterfaceStyle": "light",
"newArchEnabled": true,
"jsEngine": "jsc",
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.anonymous.digitalpilates",
"infoPlist": {
"ITSAppUsesNonExemptEncryption": false,
"NSCameraUsageDescription": "应用需要使用相机以拍摄您的体态照片用于AI测评。",
"NSPhotoLibraryUsageDescription": "应用需要访问相册以选择您的体态照片用于AI测评。",
"NSPhotoLibraryAddUsageDescription": "应用需要写入相册以保存拍摄的体态照片(可选)。",
"UIBackgroundModes": [
"processing"
]
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/Sealife.jpeg",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"package": "com.anonymous.digitalpilates",
"permissions": [
"android.permission.RECEIVE_BOOT_COMPLETED",
"android.permission.VIBRATE",
"android.permission.WAKE_LOCK"
]
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/Sealife.jpeg"
},
"plugins": [
"expo-router",
[
"expo-splash-screen",
{
"image": "./assets/images/Sealife.jpeg",
"imageWidth": 40,
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
],
[
"react-native-health",
{
"enableHealthAPI": true,
"healthSharePermission": "应用需要访问您的健康数据(步数与能量消耗)以展示运动统计。",
"healthUpdatePermission": "应用需要更新您的健康数据(体重信息)以记录您的健身进度。"
}
],
[
"expo-notifications",
{
"icon": "./assets/images/Sealife.jpeg",
"color": "#ffffff",
"sounds": [
"./assets/sounds/notification.wav"
]
}
]
],
"experiments": {
"typedRoutes": true
}
}
}