Add: - screens/Admin/AdminNotificationBell.tsx Fix: - app.config.js - app/(application)/(user)/home.tsx - app/(application)/(user)/test-notifications.tsx - app/(application)/admin/_layout.tsx - app/_layout.tsx - components/Notification/NotificationInitializer.tsx - context/AuthContext.tsx - hooks/use-notification-store.tsx - ios/HIPMIBadungConnect/Info.plist - screens/Home/HeaderBell.tsx - service/api-device-token.ts - service/api-notifications.ts ### No Issue
19 lines
469 B
TypeScript
19 lines
469 B
TypeScript
import { AuthProvider } from "@/context/AuthContext";
|
|
import AppRoot from "@/screens/RootLayout/AppRoot";
|
|
import "react-native-gesture-handler";
|
|
import { SafeAreaProvider } from "react-native-safe-area-context";
|
|
import Toast from "react-native-toast-message";
|
|
|
|
export default function RootLayout() {
|
|
return (
|
|
<>
|
|
<SafeAreaProvider>
|
|
<AuthProvider>
|
|
<AppRoot />
|
|
</AuthProvider>
|
|
</SafeAreaProvider>
|
|
<Toast />
|
|
</>
|
|
);
|
|
}
|