import { useEffect } from 'react'; import * as Notifications from 'expo-notifications'; import AppNavigator from './src/navigation/AppNavigator'; export default function App() { useEffect(() => { // Request notification permissions on app start Notifications.requestPermissionsAsync(); // Set up notification handler Notifications.setNotificationHandler({ handleNotification: async () => ({ shouldShowAlert: true, shouldPlaySound: true, shouldSetBadge: false, shouldShowBanner: true, shouldShowList: true, }), }); }, []); return ; }