Delivered remotely for a business based in Riyadh, Saudi Arabia. Names withheld by agreement.
Project Overview
Small retailers, quick-service restaurants, pharmacies, and neighborhood delivery hubs across Riyadh experience high weekly turnover and sudden shift gaps, yet most digital recruitment tools are built for corporate salaried pipelines. Asking a store supervisor to screen multi-page PDF resumes or asking an hourly applicant to fill out desktop forms creates friction on both sides before a single conversation happens.
We engineered a two-sided local hiring marketplace tailored to walk-in and shift-based work. Candidates open a map-first mobile app to inspect verified nearby openings, check real commute distance, and apply with a concise shift-availability profile. Storefront managers receive structured candidate cards, schedule short voice or in-person screenings inside a masked real-time thread, and close filled shifts cleanly across mobile and web.
Business Bottleneck
Storefront operators were relying on window flyers, informal chat groups, and fragmented classifieds to fill immediate openings. Those ad-hoc channels caused three operational failures:
- Invisible proximity constraints: Generic job portals matched candidates by broad city labels, sending applicants across congested corridors only for interviews to collapse over transit time.
- Unresponsive listing decay: Static classifieds stayed live weeks after shifts were filled, discouraging local job seekers and eroding marketplace trust.
- Asymmetric tooling: Branch supervisors needed rapid phone alerts between floor duties, whereas franchise HR leads required a desktop workspace to audit multiple outlets and verify business registrations.
Architectural Strategy
Instead of maintaining duplicated iOS and Android codebases or forcing native background services through brittle JavaScript polyfills, we designed a layered hybrid mobile architecture paired with a React operations console:
- Unified UI with Expo and React Native: Listings, bilingual Arabic/English RTL layouts, shift pickers, and employer pipelines share one React Native presentation layer managed via Expo prebuild workflows.
- Native OS Bridges in Java and Swift: Latency-sensitive and background-restricted tasks—Android multipart uploads via Retrofit, geofence triggers, and iOS CoreLocation/APNs actions—run in dedicated native modules.
- Geospatial-First Discovery: Google Maps SDK and Places verification anchor every storefront pin to a validated commercial entrance.
- Event-Driven Messaging: Firebase Cloud Firestore drives live application transitions and masked chat, while Firebase Cloud Messaging delivers actionable alerts offline.
Core Capabilities
Radius-Aware Job & Talent Discovery
Job seekers browse live openings on an interactive Google Maps canvas filtered by hourly rate band, shift window (morning, evening, split, or weekend), language preference, and commute distance. Verified managers can also inspect anonymized nearby availability badges to invite qualified workers within a target radius.
Structured Micro-Profiles Instead of Resumes
Candidates onboard with OTP phone verification and build a compact capability card covering retail or hospitality experience, point-of-sale familiarity, safety credentials, and weekly shift availability. Native Java and Swift modules validate document framing and compress attachments on-device before upload.
Masked In-App Screening & Interview Scheduling
When an employer shortlists an applicant, a scoped chat thread opens automatically with structured interview slot proposals, storefront pin directions, and one-tap confirmation. Personal phone numbers remain hidden unless both parties accept an in-person visit.
Multi-Branch Employer & Moderation Web Portal
A React web console lets multi-location operators clone shift templates across branches, assign store-level delegates, and monitor hiring bottlenecks. Trust-and-safety moderators use the same portal to inspect flagged posts, verify commercial registrations, and enforce marketplace guidelines.
Technical Architecture
The platform separates transactional hiring records and geospatial indexing in the core backend API from low-latency conversational state in Firebase, keeping both mobile clients and the React admin console synchronized without polling.
Flow: Storefront Manager (React Web / React Native) -> Core REST API (Storefront Verification & Geospatial Index) -> Google Maps Viewport Clusters -> Candidate App (React Native + Expo + Java/Swift Native Bridges) -> Firebase Firestore & FCM (Real-Time Screening Chat & Push)
On Android, background tasks—such as resuming interrupted credential uploads on cellular handoffs or posting geofence arrival events—run inside a native Java service backed by Retrofit interceptors and exponential backoff. On iOS, Swift native modules bridge CoreLocation significant-change updates and interactive notification categories directly into the React Native store.
Technology Stack
| Category | Technology Detail |
|---|---|
| Mobile Client Framework | React Native with Expo workflow and custom native module prebuild |
| Android Native Layer | Java native bridges for background geofencing and document capture |
| iOS Native Layer | Swift modules for CoreLocation region monitoring and APNs actions |
| Resilient Mobile Networking | Retrofit typed REST client inside Android native sync services |
| Web Portal & Admin UI | React single-page console for multi-store employers and moderators |
| Geospatial Discovery | Google Maps SDK, Places autocomplete, and bounding-box clustering |
| Real-Time Chat & Alerts | Firebase Cloud Firestore listeners and Firebase Cloud Messaging |
| Identity & Session Auth | Firebase Authentication with OTP phone login and role claims |
| Media & Verification Storage | Cloud object storage with signed short-lived upload URLs |
| Localization & Layout | Bidirectional RTL/LTR layout engine supporting Arabic and English |
Engineering Trade-offs & Solutions
| Architectural Challenge | Engineering Resolution |
|---|---|
| Expo managed runtime limitations around background location and custom HTTP retry queues | Adopted Expo prebuild with custom native bridges in Java (using Retrofit) and Swift so background uploads and OS geofences survive app suspension. |
| Map pin density cluttering commercial streets and driving excessive Google Maps API calls | Implemented viewport bounding-box quantization, server-side cluster aggregation at macro zoom levels, and debounced camera-idle queries. |
| Bidirectional Arabic RTL and English LTR rendering glitches inside map callouts and chat threads | Built explicit layout direction tokens and tested mirrored flex containers across both iOS and Android native text views. |
| Stale listings remaining discoverable after storefront positions were quietly filled | Enforced shift-headcount quotas and automated expiry timers that archive unacknowledged posts and prompt managers via push actions. |
| Dual-state drift between transactional SQL job records and Firebase chat threads | Treated the backend API as the authoritative source for application status changes, syncing state transitions into Firestore via idempotent server webhooks. |
Security & Reliability
Local hiring platforms handle sensitive identity records and physical coordinates, demanding strict privacy boundaries:
- Role-Scoped Token Claims: Firebase Authentication issues short-lived JWTs carrying
candidate,store_manager,franchise_admin, ormoderatorclaims, enforced by backend middleware and Firestore rules so users read only active threads they belong to. - Coordinate Precision Masking: Candidate home locations stay private; proximity ranking evaluates rounded neighborhood cells on the server, revealing exact coordinates solely for verified commercial storefronts.
- Hardened Upload Pipeline: Identity documents and permits never enter chat collections. Clients request single-use pre-signed URLs, upload encrypted files via Retrofit or Swift URLSession, and trigger asynchronous validation before moderators gain temporary read access.
- Idempotent State Mutations: Rapid retries on flaky store Wi-Fi cannot duplicate applications or double-book interviews because mutation endpoints enforce client-generated idempotency keys.
Performance & Scale
- Lean Map Tile Hydration: Initial map loads fetch compact pin summaries (title, shift badge, pay band, and cluster coordinates), deferring gallery photos and shift breakdowns until marker selection.
- Native Thread Offloading: Image resizing, EXIF stripping, and multipart chunked uploads run off the React Native JS thread in Java and Swift workers, keeping map panning responsive on mid-range handsets.
- Lifecycle-Aware Listeners: Firestore subscriptions bind only to the active thread or inbox screen and detach on background transitions, bounding concurrent listener overhead.
- Adaptive Push Batching: Busy storefront managers receive consolidated digest alerts when multiple applications arrive together, preventing notification fatigue during peak floor hours.
Operational Outcomes
Unifying storefront discovery, credential checks, and masked scheduling into a single mobile-first workflow replaced fragmented manual recruiting with an auditable local pipeline:
- Faster Shortlist Turnaround: Storefront managers screen standardized capability cards and confirm interviews between shifts without external spreadsheets or personal messaging apps.
- Higher Listing Accuracy: Automated expiry rules and verified commercial pins keep job seekers focused on open workplaces within practical commute bounds.
- Consistent Cross-Platform Maintainability: Product teams iterate rapidly on shared React Native and React interfaces while keeping native Java, Retrofit, and Swift reliability for background OS operations.