HomeCase studiesTwo-Sided Hyperlocal Hiring Marketplace for Storefronts and...

Case study · Riyadh, Saudi Arabia

Two-Sided Hyperlocal Hiring Marketplace for Storefronts and Shift Workers

Recruitment technology — local, hourly and shift-based hiring for small and medium businesses

Brick-and-mortar retail, hospitality, and logistics outlets rely on rapid local staffing, yet conventional job boards bury neighborhood openings beneath multi-page resumes and slow email threads. We engineered a two-sided hiring marketplace spanning iOS, Android, and web using React Native, Expo, native Java and Swift modules, Retrofit, Google Maps, Firebase, and a React operations console. Storefront managers publish shift-ready openings pinned to verified street coordinates, while nearby candidates filter opportunities by commute radius and confirm interviews in real time.

Industry
Recruitment technology — local, hourly and shift-based hiring for small and medium businesses
Solution
A cross-platform React Native mobile marketplace augmented with native Java/Retrofit and Swift location modules, Google Maps spatial search, Firebase real-time messaging, and a React web administration portal.
Platforms
Android · iOS · Cross-platform · Web & API
Stack
React Native · React · Java · Swift · Firebase · Google Maps
Location
Riyadh, Saudi Arabia · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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:

  1. 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.
  2. 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.
  3. Geospatial-First Discovery: Google Maps SDK and Places verification anchor every storefront pin to a validated commercial entrance.
  4. 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, or moderator claims, 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.

01 — Questions

asked about this kind of project

Why pair React Native and Expo with custom native Java and Swift modules instead of writing two separate apps?

Shared business logic, bilingual RTL screens, and listing workflows stay unified in React Native and Expo, while OS-sensitive tasks—such as Android background geofencing via Java and iOS CoreLocation region handoffs in Swift—run natively without JavaScript bridge stalls.

How does the system prevent stale or ghost job listings from cluttering the map?

Every storefront post carries a shift-fill quota and an automatic expiration window. Once a manager confirms the target headcount or fails to respond to active applicants within the configured SLA, the listing is automatically deprioritized and archived from map tiles.

Why use Retrofit inside the Android native layer alongside React Native JavaScript networking?

Background document uploads, offline-queued application submissions, and geofence check-ins execute inside Android native services even when the React Native JS runtime is suspended, where Retrofit provides deterministic retries, multipart streaming, and strict payload typing.

How are candidate phone numbers and identity documents protected during early screening?

In-app Firebase messaging masks direct phone numbers until an interview slot is mutually accepted, and verification files upload directly via time-bounded signed URLs rather than passing through unencrypted chat attachments.

How does Google Maps clustering scale when hundreds of retail outlets post openings in the same commercial district?

Viewport queries pass quantized bounding-box coordinates and zoom levels to the API, returning server-aggregated cluster counts at city zoom and individual pins only when the candidate zooms into a neighborhood corridor.

How can multi-branch franchise owners manage hiring without overlapping the mobile storefront experience?

The React web console shares the same authenticated API and Firebase notification pipeline, giving regional coordinators bulk shift templates, branch-level permission scopes, and moderation queues suited for desktop workflows.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.