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

@@ -79,6 +79,20 @@
"drink_water": "./assets/images/icons/IconGlass.png"
}
}
],
[
"expo-background-task",
{
"minimumInterval": 15
}
],
[
"expo-task-manager",
{
"taskManagers": [
"background-health-reminders"
]
}
]
],
"experiments": {