On this page
A property search loses credibility when a pin, asking price or contact is invented. This real estate brief starts with authorized listing records and traceable updates, then connects saved properties to private enquiries. The initial version should prove that a genuine listing can be found, bookmarked and contacted without exposing the buyer’s message to another agent. It does not promise live availability without an authorized feed.
Screens
- Search: Filter authorized listings by price, area and published status.
- Map: Place the same results using verified property coordinates.
- Property detail: Show current supplied facts, imagery and listing provenance.
- Enquire: Send a private question to the listing’s authorized recipient.
- Saved: Keep personal bookmarks and identify withdrawn properties.
- Sign in: Establish ownership of saved listings and enquiries.
Data model
| Table | Key fields | Purpose |
|---|---|---|
| properties | id (uuid), agent_id (uuid), source_ref (text), price_minor (bigint), currency (text), status (text) | Store authorized listing provenance and exact supplied asking prices. |
| property_locations | property_id (uuid), latitude (numeric), longitude (numeric), display_precision (text) | Separate real coordinates from the precision permitted for public display. |
| property_images | id (uuid), property_id (uuid), storage_path (text), rights_note (text) | Associate each photograph with a listing and recorded publication permission. |
| enquiries | id (uuid), property_id (uuid), sender_id (uuid), message (text), created_at (timestamptz) | Route a buyer’s private question without trusting a client-supplied recipient. |
| saved_properties | user_id (uuid), property_id (uuid), saved_at (timestamptz) | Keep bookmarks private even when listings themselves are public. |
Publish only listing data and photographs the owner is authorized to use, with a process for withdrawal and corrections. Server-side row-level security should let a sender and the property’s currently authorized agent read an enquiry; derive routing from the listing, not an editable address in the app. Limit listing changes and photo uploads to verified agents. Preserve user-private saved lists, validate coordinate ranges and decide when an approximate map pin is required to protect occupied homes. A cached property must show when its availability was last checked.
Native features for the real estate app
Map selection and listing detail must refer to the same property; no location permission is needed merely to browse supplied pins. A new-listing alert should carry a listing identifier and still respect the saved price, area and property-type criteria.
| Feature | Android (Kotlin) | iPhone (SwiftUI) | Notes |
|---|---|---|---|
| Property map pins | Map SDK integration with listing IDs | MapKit annotations for supplied coordinates | Map selection and listing detail must refer to the same property; no location permission is needed merely to browse supplied pins. |
| Saved-search matches | Server-evaluated match push notifications | Authorized notifications for saved filter matches | A new-listing alert should carry a listing identifier and still respect the saved price, area and property-type criteria. |
| Viewing directions | Geo intent to the property destination | MapKit directions handoff | Use the owner-approved viewing address, and label approximate public locations when a full address is intentionally withheld. |
Android notes (Kotlin and Jetpack Compose)
Keep price, bedrooms and neighborhood filters in a ViewModel shared by map and list destinations. Use a LazyColumn keyed by listing ID and match selected map markers to those keys, so a refreshed result set cannot show details for an adjacent property.
- Present filters in a Material 3 ModalBottomSheet with explicit Apply and Reset actions. Cache browse summaries in Room only as dated snapshots; availability and asking price should be refreshed before a viewing enquiry is submitted.
- Use an activity-result permission launcher only when the person chooses Near me. A denied location request should leave manual neighborhood search intact. Saved-search alerts need backend matching and deduplication rather than a promise that WorkManager will constantly poll in the background.
- On Android, save a two-bedroom search under the supplied price cap and add one matching and one over-budget listing from an authorized staff account. Open the resulting alert, then withdraw the matching listing. Confirm the old alert leads to an unavailable explanation, not a fresh viewing confirmation.
iPhone notes (Swift and SwiftUI)
Use a MapKit map and a SwiftUI List driven by one filtered collection. NavigationStack should route using the property identifier; tapping an annotation must open the same photos and asking price as tapping its row.
- Keep saved filter definitions in SwiftData if offline review is needed, but distinguish local saves from server-registered alert subscriptions. Offer notification authorization when enabling new-match alerts and explain when that subscription has not reached the backend.
- Present viewing preferences in a sheet with detents that retains the property context. Opening directions for a supplied coordinate does not require collecting the buyer’s location; make any separate current-location feature optional and purpose-specific.
- On an iPhone, deny current location and browse the map by a typed neighborhood. Switch between map and list, save a search, and open a match notification after changing the price cap. Verify the screen displays current property status and makes stale-alert context understandable.
Copy-paste prompt
Build a real estate app for Android with Search, Map, Property detail, Enquire, Saved and Sign in. Ask for an authorized listing source, image permissions, currencies, refresh policy and the agent authority model. Never invent prices, addresses, availability or agent contacts. Model properties, locations, images, enquiries and saved properties, preserving source references and published status. Plot real approved coordinates with an explicit precision policy. Configure the owner’s Android map account when needed and use the platform map capability on iPhone. Enforce listing edit roles and private enquiry access on the backend. Include loading, no results, withdrawn listings, map failure, failed enquiries and camera permission denied. Acceptance requires saving an authorized listing, reopening its detail and submitting a real test enquiry visible only to its sender and assigned agent. An unrelated agent must fail direct retrieval, and a withdrawn property must stop accepting enquiries.
Opens Apirex with this prompt in the box. Pick the Android · Kotlin tab before you send.
Acceptance test
Check listing ownership changes with an enquiry already open: the next read must use the current authorized-agent policy rather than a cached agent identifier. Decide whether historical enquiries transfer to a replacement agent and document that choice before implementation. A missing coordinate should produce a listing without a map pin, not a marker at zero latitude and longitude. Test a listing whose currency differs from the selected search currency; do not compare numeric prices across currencies without an explicitly requested conversion service and disclosed rate policy.
- Enter an authorized test property with a real price, licensed photograph, source reference and approved coordinates.
- Search by its price range, compare its list and map result and bookmark it from buyer account A.
- Reopen the application and confirm the saved property and supplied facts remain unchanged, including the currency and map precision.
- Submit a distinctive enquiry and verify only A and the authorized listing agent can read it; attempt a direct request from another agent.
- Withdraw the listing and retry the enquiry from a stale detail screen, expecting rejection; simulate map failure and confirm list browsing remains usable.
Frequently asked questions
Can I scrape another property portal?
Do not assume publicly visible listings are authorized for reuse. Identify a permitted feed, an owner-supplied dataset or explicit publication rights before importing listing text, photographs or contact information.
Should every home have an exact public pin?
Ask the authorized publisher what precision is permitted. An approximate display point can be appropriate, but it must be labeled rather than passed off as the exact entrance.
Does Enquire reserve the property?
No: this scope records a private message to the authorized recipient. A reservation or transaction requires a separate operational service and must not be implied by a success confirmation.
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.