Delivered remotely for a business based in Montreal, Canada. Names withheld by agreement.
Project Overview
Industry: Property valuation services for mortgage lending — connecting valuation management organisations with independent field appraisers.
Solution summary: Native iOS (Swift) and Android (Java) mobile applications anchored by an offline-first SQLite sync engine, Alamofire networking, and Firebase push alerting.
Mortgage lending depends on timely, defensible property inspections executed by independent appraisers across dense urban cores, suburban subdivisions, and remote rural territories. Before compiling a valuation report, an appraiser must triage incoming assignment offers, coordinate property access, verify boundaries, and capture standardized exterior and interior photographs under lender turn-time rules. This engagement delivered native mobile workbenches on iOS and Android that connect field appraisers to dispatch coordinators without tethering a laptop or re-entering notes back at a desk.
Operational Bottlenecks in Appraisal Dispatch
Slow assignment acceptance windows. Coordinators routinely broadcast time-sensitive orders across panels of independent appraisers. Relying on email threads or web portals meant appraisers driving between inspections missed rush offers and triggered manual follow-up calls.
Hostile RF environments during inspections. Appraisers walk through below-grade basements, concrete garages, steel commercial units, and rural acreages with unreliable cellular service. Tools assuming persistent connectivity froze mid-inspection or lost unsaved room notes.
Fragmented photo and metadata handling. Underwriting standards require labelled photographs—street scenes, elevations, mechanical systems, deferred maintenance—verified against capture timestamps and coordinates. Shooting in a generic camera roll and sorting manually on a workstation caused mislabelled files and repeat site visits.
Dual-channel status drift. Appraisers review schedules on phones while office staff or reviewers update inspection windows or issue revision requests on the web portal. Without disciplined sync, contractors arrived at stale appointments or overlooked quality-control clarifications.
Architectural Strategy
Local-first state as the primary UI source. Both native clients treat SQLite as the immediate source of truth for screens, forms, and photo queues. User actions commit locally in milliseconds and schedule asynchronous synchronization behind the scenes.
Platform-native ergonomics over shared abstractions. Independent appraisers use varied personal devices and OS versions. Writing iOS in Swift with Alamofire and Android in Java enabled direct use of native camera pipelines, Keychain/Keystore encryption, and OS background upload semantics.
Event-driven dispatch paired with delta polling. Firebase Cloud Messaging and APNs trigger rapid wake-ups for new order offers, fee counter-offers, and underwriter revision flags, while an incremental delta-sync endpoint reconciles missed events when signal returns.
Separation of structural metadata and binary media. Lightweight JSON payloads handle acceptance, scheduling, and status transitions over weak links, while compressed photographs travel through an independent multipart upload queue.
Core Capabilities for Field Appraisers
Instant order triage and fee negotiation. Appraisers receive structured push alerts showing property type, address, due date, complexity tags, and offered fee, enabling immediate accept, decline, or counter-proposal actions.
Appointment scheduling and outreach log. Accepted orders populate an integrated calendar with navigation handoff, borrower contact shortcuts, and timestamped call-attempt logs giving coordinators an auditable scheduling trail.
Guided on-site inspection checklists. Property templates adapt to residential, multi-unit, or commercial assignments so appraisers record room counts, structural notes, and condition ratings offline.
Geo-verified photographic evidence. An in-app camera stamps category labels, timestamps, and GPS coordinates from Core Location or Android Location Services, flagging missing mandatory angles before departure.
Revision and condition resolution. Quality-control revision requests return to a dedicated attention queue with item-level commentary and attachment support.
Technical Architecture
Both native clients share a three-tier structure: native presentation views, a domain and sync coordinator backed by SQLite, and an authenticated transport layer handling REST requests and background transfers.
Flow: Assignment created in valuation management backend -> Firebase Cloud Messaging / APNs dispatches push alert -> Native Swift or Java client fetches order delta -> Appraiser accepts, schedules, and captures offline inspection data into encrypted SQLite tables -> Background upload queue (Alamofire Session on iOS / upload service on Android) streams compressed media and status mutations to REST API -> Server commits atomic state update and notifies coordinator dashboard.
On iOS, Alamofire RequestInterceptor middleware catches 401 Unauthorized responses, serializes a single token refresh under a lock, and retries queued requests transparently. On Android, an equivalent HTTP interceptor coordinates renewal against Android Keystore credentials so concurrent upload workers never trigger duplicate authentication requests.
Technology Stack
| Category | Technology detail |
|---|---|
| iOS application | Native Swift application targeting field appraiser workflows and Apple hardware integration |
| Android application | Native Java application engineered for broad Android handset compatibility across independent contractors |
| iOS networking | Alamofire HTTP client with request interceptors, token refresh queuing, and multipart photo uploads |
| Local persistence | Embedded SQLite databases on both iOS and Android storing assignments, checklists, and pending mutation queues |
| Push messaging | Firebase Cloud Messaging (FCM) bridged with APNs for urgent assignment offers, fee counter-offers, and revision alerts |
| Location services | Native Core Location (iOS) and Android Fused Location Provider for geotagged photo verification and route context |
| Media capture | Platform camera pipelines with EXIF coordinate stamping, on-device compression, and thumbnail generation |
| Backend integration | Authenticated JSON REST API synchronizing assignment lifecycles with the valuation management portal |
| Diagnostics & telemetry | Firebase Crashlytics for native stack-trace capture and synchronization failure monitoring |
Engineering Trade-offs & Solutions
| Architectural Challenge | Engineering Decision & Rationale |
|---|---|
| Cross-platform speed vs. native camera and storage fidelity | Chose dedicated Swift and Java codebases instead of a hybrid wrapper to maintain predictable memory behavior during rapid inspection photography and native SQLite file locking on older contractor phones. |
| Full-payload polling vs. incremental delta synchronization | Implemented cursor-based delta endpoints returning only modified assignment fields, keeping cellular data consumption low while recovering cleanly after long offline inspections. |
| Inline Base64 image payloads vs. decoupled multipart uploads | Separated metadata JSON transactions from multipart binary photo transfers so a stalled image upload inside a basement never blocks status transitions like Scheduled or Inspected. |
| Unbounded local media retention vs. storage and privacy hygiene | Enforced deterministic post-submission cleanup of raw photo caches and homeowner contact records in SQLite once the server acknowledges final archival, protecting device storage and borrower privacy. |
Data Integrity, Security & Offline Resilience
Idempotent mutation queue. Offline actions—status updates, appointment timestamps, fee counter-offers, and photo links—receive client-generated UUIDs in SQLite before dispatch, letting the server deduplicate retries after dropped signals.
Credential and payload protection. Access and refresh tokens reside inside hardware-backed iOS Keychain and Android Keystore storage, excluded from SQLite tables, with TLS 1.2+ enforced across Alamofire and Android HTTP stacks.
Deterministic conflict surfacing. Because coordinators may reassign or cancel orders while an appraiser is offline, sync checks server-side updated_at vectors before applying queued edits and locks cancelled orders immediately.
Performance & Scale
Fast cold launch from local index. Indexing active assignments, upcoming visits, and unread revision flags in SQLite lets both apps render the appraiser's daily queue before any network handshake finishes.
Bounded memory during photo-heavy inspections. Writing captured frames directly to disk, generating compact thumbnails, and downscaling JPEGs before Alamofire or Android upload keeps heap usage flat during large commercial inspections.
Controlled retry backoff. Exponential backoff with reachability listeners prevents battery drain across rural dead zones, waking uploads only once the OS confirms a usable data path.
Operational Outcomes
Valuation coordinators gained live milestone visibility across active assignments—from order acceptance and scheduled visit times through completion—without phone chasing. Field appraisers eliminated manual photo sorting and evening desktop updates by finishing evidence capture and logs on site, while standardized geotagged media reduced quality-control revision cycles.