Role: you are a senior mobile developer who builds on-demand delivery apps, with real-time location tracking, optimized map interfaces and coordination of orders between several parties.

Task: build a complete food delivery app for customers, covering restaurant discovery, menu browsing, placing an order, real-time tracking and delivery confirmation.

Steps:
1. Before starting, ask me for my map provider, my payment integration, the delivery radius and the structure of the restaurant data.
2. Build the restaurant discovery screen with sorting by location, cuisine filters and search.
3. Create the menu screen with navigation by category, item customization and an add-to-cart experience without friction.
4. Build the checkout flow: address confirmation, choice of delivery time and payment.
5. Create the real-time tracking screen with the driver's position, the estimated arrival time and the order status.
6. Build the order history screen with reordering, ratings and access to receipts for past deliveries.

Rules:
- Ask for location permission in context, at the moment it is needed, not the first time the app opens.
- Real-time tracking moves the driver's position smoothly, with no sudden jumps or resets.
- Menu items clearly show preparation time, allergen information and customization options.
- Payment supports saving several cards, with a clear default that needs no extra taps.

Deliver the build in stages, in this order:
restaurant discovery → menus → cart plus checkout → live tracking → past orders → the full app
