- Remove heart rate variability (hrv) field from health data interfaces and implementations
- Update default member name to Chinese localization
- Replace type assertions with proper enum types in notification schedulers
Remove basalEnergyBurned from global health data structure and refactor BasalMetabolismCard to fetch its own data locally. This decouples the component from global state and improves data locality.
- Remove basalEnergyBurned from HealthData interface and health utilities
- Update BasalMetabolismCard to use selectedDate prop and fetch data locally
- Simplify statistics screen by removing unused basalMetabolism variable
- Update nutrition radar card to use activeCalories only for burned calories calculation
- Removed NitroModules and ReactNativeHealthkit from Podfile.lock and package files.
- Updated Info.plist to increment app version from 2 to 3.
- Refactored background task manager to define background tasks within the class.
- Added new utility file for sleep data management, including fetching sleep samples, calculating sleep statistics, and generating sleep quality scores.
fix: Adjust objectVersion in project.pbxproj and improve WaterWidget folder exception handling
refactor: Remove sleepService.ts as part of code cleanup
chore: Comment out HealthKit initialization in health.ts and clean up fetchSleepDuration function
feat: Update FitnessRingsCard to navigate to fitness rings detail page on press
feat: Modify NutritionRadarCard to enhance UI and add haptic feedback on actions
feat: Add FITNESS_RINGS_DETAIL route for navigation
fix: Adjust minimum fetch interval in BackgroundTaskManager for background tasks
feat: Implement haptic feedback utility functions for better user experience
feat: Extend health permissions to include Apple Exercise Time and Apple Stand Time
feat: Add functions to fetch hourly activity, exercise, and stand data for improved health tracking
feat: Enhance user preferences to manage fitness exercise minutes and active hours info dismissal
- 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.