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.
This commit is contained in:
richarjiang
2025-09-05 09:47:49 +08:00
parent cb89ee7bc2
commit acb3907344
60 changed files with 77 additions and 2230 deletions

View File

@@ -27,8 +27,6 @@
"dayjs": "^1.11.13",
"expo": "~53.0.20",
"expo-apple-authentication": "6.4.2",
"expo-background-fetch": "^13.1.6",
"expo-background-task": "~0.2.8",
"expo-blur": "~14.1.5",
"expo-camera": "^16.1.11",
"expo-constants": "~17.1.7",
@@ -44,7 +42,6 @@
"expo-status-bar": "~2.2.3",
"expo-symbols": "~0.4.5",
"expo-system-ui": "~5.0.10",
"expo-task-manager": "^13.1.6",
"expo-web-browser": "~14.2.0",
"lodash": "^4.17.21",
"lottie-react-native": "^7.3.4",
@@ -80,4 +77,4 @@
"typescript": "~5.8.3"
},
"private": true
}
}