feat(fasting): add auto-renewal and reset functionality for fasting plans

- Implement auto-renewal logic for completed fasting cycles using dayjs
- Add reset button with information modal in FastingOverviewCard
- Configure iOS push notifications for production environment
- Add expo-media-library and react-native-view-shot dependencies
- Update FastingScheduleOrigin type to include 'auto' origin
This commit is contained in:
richarjiang
2025-10-15 19:06:18 +08:00
parent 039138f7e4
commit d39a32c0d8
9 changed files with 548 additions and 155 deletions

View File

@@ -10,18 +10,18 @@
},
"dependencies": {
"@expo/metro-runtime": "~6.1.2",
"@expo/ui": "~0.2.0-beta.4",
"@expo/ui": "~0.2.0-beta.7",
"@expo/vector-icons": "^15.0.2",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-community/datetimepicker": "8.4.5",
"@react-native-community/datetimepicker": "8.4.4",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-native-picker/picker": "2.11.2",
"@react-native-picker/picker": "2.11.1",
"@react-native-voice/voice": "^3.2.4",
"@react-navigation/bottom-tabs": "^7.4.7",
"@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.4",
"@react-navigation/native": "^7.1.17",
"@react-navigation/native": "^7.1.8",
"@reduxjs/toolkit": "^2.9.0",
"@sentry/react-native": "~7.1.0",
"@sentry/react-native": "~7.2.0",
"@types/lodash": "^4.17.20",
"dayjs": "^1.11.18",
"expo": "^54.0.13",
@@ -37,6 +37,7 @@
"expo-image-picker": "~17.0.8",
"expo-linear-gradient": "~15.0.7",
"expo-linking": "~8.0.8",
"expo-media-library": "^18.2.0",
"expo-notifications": "~0.32.12",
"expo-quick-actions": "^6.0.0",
"expo-router": "~6.0.12",
@@ -64,10 +65,11 @@
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "~5.6.1",
"react-native-screens": "~4.16.0",
"react-native-svg": "^15.13.0",
"react-native-svg": "15.12.1",
"react-native-toast-message": "^2.3.3",
"react-native-view-shot": "^4.0.3",
"react-native-web": "^0.21.1",
"react-native-webview": "13.16.0",
"react-native-webview": "13.15.0",
"react-native-wheel-picker-expo": "^0.5.4",
"react-redux": "^9.2.0"
},
@@ -79,4 +81,4 @@
"typescript": "~5.9.2"
},
"private": true
}
}