On this page
A traveler crossing timezones needs a plan that preserves destination dates even when the phone clock changes. This itinerary brief combines trips, daily activities and optional reservation notes in a private planner. Its first version should recover a real multi-day plan without a connection and distinguish saved booking information from a purchased booking. Sensitive passport details are unnecessary for that initial journey.
Screens
- Trips: Create named journeys with destination and date boundaries.
- Day plan: Arrange activities under the correct destination-local day.
- Bookings: Store optional reservation notes without making reservations.
- Map: Locate activities with actual supplied coordinates.
Data model
| Table | Key fields | Purpose |
|---|---|---|
| trips | id (uuid), name (text), starts_on (date), ends_on (date), timezone (text) | Set the planning calendar and default destination zone. |
| activities | id (uuid), trip_id (uuid), local_day (date), starts_local (time), timezone (text), position (int) | Order each day while preserving the intended local start time. |
| places | id (uuid), activity_id (uuid), label (text), latitude (numeric), longitude (numeric) | Plot actual places without generating coordinates from decorative examples. |
| booking_notes | id (uuid), trip_id (uuid), activity_id (uuid), provider (text), reference (text), note (text) | Hold optional user-entered reservation information without claiming provider confirmation. |
A private itinerary can use local storage with no account, and booking references should not be uploaded without a clear reason. If shared trips are later requested, introduce explicit participants and enforce backend row-level security on trip records, activities and notes. Sharing a trip title must not automatically share every reservation code. Avoid storing passport scans in the first version and define deletion and device-backup expectations. Distinguish locally saved material from remotely available map tiles so offline access is not overstated.
Native features for the travel itinerary app
Make day plans and user-entered booking notes readable without roaming data; distinguish downloaded files from remote links that still need a connection. Open the selected activity’s destination without claiming the app has downloaded a complete offline navigation map.
| Feature | Android (Kotlin) | iPhone (SwiftUI) | Notes |
|---|---|---|---|
| Offline trip packet | Room trip snapshot and private saved files | SwiftData itinerary and local document copies | Make day plans and user-entered booking notes readable without roaming data; distinguish downloaded files from remote links that still need a connection. |
| Destination map handoff | Geo intents for activity coordinates | MapKit links for supplied places | Open the selected activity’s destination without claiming the app has downloaded a complete offline navigation map. |
| Destination-time reminders | Activity notifications using named time zones | UserNotifications with explicit travel-date rules | A reminder for a museum visit should reflect the planned city’s time rather than moving when the traveller changes device zones. |
Android notes (Kotlin and Jetpack Compose)
Build trip days as LazyColumn sections keyed by activity ID and retain position explicitly for reordering. Keep the activity’s local date, local time and named zone together in Room; do not reduce a multi-city itinerary to the phone’s current offset.
- Use Navigation Compose destinations for trip, day and activity, with a ModalBottomSheet for moving an activity to another day. Cache the whole selected itinerary snapshot and display its last refresh time so a traveller can distinguish an offline copy from a current provider update.
- Hand destination coordinates to a map app through an intent and handle the case where no compatible handler is available. Optional file downloads can run in WorkManager, but show which reservation documents actually finished downloading before the traveller leaves connectivity.
- On an Android handset, save a London activity and a Tokyo activity with different zones, then enable airplane mode and change the device zone. Reopen both days, inspect booking references, reorder a stop, and tap directions. Confirm itinerary text works offline while unavailable map or remote-document features are honestly labelled.
iPhone notes (Swift and SwiftUI)
Use NavigationStack for Trips, Day and Activity detail, and a SwiftUI List whose move action writes activity order explicitly. SwiftData should retain destination-local scheduling values, not reinterpret every stop as a date in the current device calendar.
- Present date and time edits in a sheet that names the activity’s zone alongside the selected local start. Keep user-entered reservation references separate from confirmation status; saving a hotel note is not proof that a provider has accepted a booking.
- Use MapKit to open the supplied place coordinate, and provide a readable address fallback. Local document copies need their own download indicators; a saved URL is not an offline ticket, and map handoff does not guarantee offline turn-by-turn guidance.
- On iPhone, download a trip packet, disconnect, and open each day plus a saved reservation document. Cross a simulated device-zone boundary and verify the museum’s destination-local time does not change. Move the museum to another day and confirm only its own optional reminder is recalculated.
Copy-paste prompt
Create a travel itinerary app for Android with Trips, Day plan, Bookings and Map. Start as a private local planner. Ask for destination timezones, date boundaries, activity ordering rules and which reservation details should be stored. Model trips, activities, places and optional booking notes. Preserve destination-local dates across phone timezone changes and show actual supplied place coordinates. Keep saved plans available without a connection, while honestly showing unavailable map content. Ask before enabling sharing or backend synchronization and do not collect passport documents by default. Do not claim to book flights or hotels, verify reservations or track a traveler live. Include loading, no trips, invalid date ranges, failed persistence and unavailable maps. Acceptance requires creating a two-day journey with real activities, reopening in airplane mode to recover it, checking a timezone change and confirming an invalid activity date is rejected without losing previously saved plans.
Opens Apirex with this prompt in the box. Pick the Android · Kotlin tab before you send.
Acceptance test
Add a journey that crosses midnight between two destinations and assign each timed activity its own timezone. Confirm the Day plan groups activities by the agreed destination-day policy rather than by whatever timezone the phone currently uses. If shortening a trip would strand saved activities outside its boundaries, ask whether to move or remove them instead of silently dropping records. A reservation note with a failed save must remain a draft, not appear confirmed in Bookings. Before sharing any itinerary summary, preview the exported fields and exclude reference codes by default. Removing a trip should remove its dependent private notes and places according to the selected local deletion policy.
- Create a two-day trip in a destination timezone different from the phone and add three activities with real local times.
- Attach an actual place coordinate to one activity and a non-sensitive test reservation note to another; verify their day assignments.
- Reorder the second day, close the planner and reopen in airplane mode, checking both saved order and booking note persistence.
- Change the phone timezone and confirm destination-local dates do not shift; inspect the map’s honest offline or unavailable state.
- Attempt an activity outside the trip dates and a reversed trip range, expecting validation without deletion of the valid itinerary; delete the test booking note and reopen.
Frequently asked questions
Does a saved hotel reference mean the hotel is booked?
No: it is a note supplied by the traveler, not a confirmation from a reservation provider. Actual booking needs a separately requested service and a verified transaction response.
Will the map work without internet?
The saved day plan should, but map content may require a connection. Test and describe map behavior separately rather than claiming that local itinerary storage includes downloadable basemaps.
Can travel companions see my reservation codes?
Not automatically. If collaboration is added, define participant roles and whether booking notes are private or explicitly shared before connecting a backend.
Build this blueprint
The blueprint prompt, ready for your platform. Edit anything before you send it.
Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.