feat: 支持 expo 44 版本

This commit is contained in:
2025-09-11 23:00:24 +08:00
parent 0cb7e67b5e
commit dfe9506a7a
10 changed files with 4070 additions and 2233 deletions

View File

@@ -19,7 +19,6 @@ import { createWaterRecordAction } from '@/store/waterSlice';
import { MoodNotificationHelpers, NutritionNotificationHelpers } from '@/utils/notificationHelpers';
import { clearPendingWaterRecords, syncPendingWidgetChanges } from '@/utils/widgetDataSync';
import React from 'react';
import RNExitApp from 'react-native-exit-app';
import { DialogProvider } from '@/components/ui/DialogProvider';
import { ToastProvider } from '@/contexts/ToastContext';
@@ -138,7 +137,7 @@ function Bootstrapper({ children }: { children: React.ReactNode }) {
};
const handlePrivacyDisagree = () => {
RNExitApp.exitApp();
// RNExitApp.exitApp();
};
return (