feat: 集成expo-background-task和expo-task-manager,重构后台任务管理,添加健康提醒功能,优化任务执行逻辑

This commit is contained in:
2025-09-05 22:07:29 +08:00
parent 3c416545db
commit e6708e68c2
7 changed files with 225 additions and 200 deletions

View File

@@ -43,13 +43,13 @@
"expo-status-bar": "~2.2.3",
"expo-symbols": "~0.4.5",
"expo-system-ui": "~5.0.11",
"expo-task-manager": "~13.1.6",
"expo-web-browser": "~14.2.0",
"lodash": "^4.17.21",
"lottie-react-native": "^7.3.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.79.5",
"react-native-background-fetch": "^4.2.8",
"react-native-cos-sdk": "^1.2.1",
"react-native-device-info": "^14.0.4",
"react-native-exit-app": "^2.0.0",
@@ -69,7 +69,8 @@
"react-native-web": "~0.20.0",
"react-native-webview": "13.13.5",
"react-native-wheel-picker-expo": "^0.5.4",
"react-redux": "^9.2.0"
"react-redux": "^9.2.0",
"expo-background-task": "~0.2.8"
},
"devDependencies": {
"@babel/core": "^7.25.2",