Project 04

- **Authentication:** User login and registration using Firebase Auth. - **Role-based Access:** User roles (admin, driver) with different dashboards and permissions. - **Admin Dashboard:** - View overview, incidents, and manage drivers. - Fetch and display incidents and driver data. - **Driver Dashboard:** (code references exist, but details not fully shown) - **Incident Reporting:** - Incidents have statuses (pending, in progress, resolved). - Incidents can include messages and images. - Local storage for unsent messages (retry logic). - **Alerts System:** - Display nearby alerts on a Google Map with markers. - Alerts have types (hazard, traffic, weather, maintenance), severity, and location. - Users can create alerts. - **Ride Tracking:** - Ride model includes route, distance, duration, speed, weather, and alerts. - **Augmented Reality Placeholder:** - AR features are not implemented yet; a placeholder screen is shown. - **Settings and Support:** - Settings screen, privacy policy, and help/support screens. - **Image Handling:** - Pick images from camera/gallery. - Show image picker dialog. - Upload images (server URL is a placeholder: localhost). - **Network and Server Diagnostics:** - Utilities to check server health and connectivity. - Console logging for debugging and diagnostics. - **UI:** - Material Design, custom icons, and navigation. - Bottom navigation for main sections (Home, Alerts, AR). - Splash screen and welcome screen for unauthenticated users.









Next Project