import { Stack } from 'expo-router'; import { StatusBar } from 'expo-status-bar'; import { device } from '@/lib/dispatch/device'; import { DispatchProvider } from '@/lib/dispatch/DispatchContext'; import { RideProvider } from '@/lib/RideContext'; // The rider app and the driver app share this codebase; each only exposes its own screens. // Opening a guarded route (including "/" in the driver app) lands on the first allowed screen. const isDriverApp = device.role === 'driver'; export default function RootLayout() { return ( ); }