Delivered remotely for a business based in London, United Kingdom. Names withheld by agreement.
Project Overview
Industry: Industrial field services — planned and reactive maintenance across commercial and industrial equipment estates.
Solution summary: A cross-platform React Native mobile application integrated with an enterprise managed CRM via OAuth 2.0, Redux state normalization, and Firebase notifications.
Industrial service organisations rely heavily on managed CRM platforms to hold customer contracts, installed asset registers, warranty rules, and invoicing workflows. Yet those browser-based enterprise consoles are built for desk-bound service coordinators with dual monitors, not field engineers standing beside a boiler skid, chiller unit, or switchgear panel. When technicians cannot raise or update work orders cleanly on site, jobs are scribbled onto paper sheets or messaged to dispatchers, breaking entitlement checks and delaying billing. This project delivered a unified iOS and Android React Native application that brings full work-order creation, asset lookup, and supervisor approvals directly to field engineers while keeping the managed CRM as the sole system of record.
Business Bottleneck
Desktop-bound job creation caused dispatch lag. Field technicians routinely discovered secondary faults during scheduled visits—worn bearings, failed valves, safety non-conformances—that required new billable work orders. Calling the service desk to dictate part numbers and site codes over the phone created bottlenecks and transcription mistakes.
Complex CRM schemas overwhelmed mobile browsers. Opening the managed CRM's responsive web UI on a phone forced engineers through multi-tabbed forms loaded with back-office fields, sluggish dropdowns, and session timeouts inside industrial facilities with patchy cellular signal.
Contract entitlement blind spots in the field. Without instant access to whether an asset sat under comprehensive cover, time-and-materials terms, or expired warranty, engineers either delayed urgent repairs awaiting office confirmation or carried out unbillable work.
Duplicated effort and lost audit history. Paper job sheets and ad-hoc messaging left dispatchers re-keying technician notes hours or days later, stripping out accurate timestamps and breaking end-to-end SLA reporting.
Architectural Strategy
Respect the managed CRM as the single authoritative backend. Instead of standing up a parallel custom database that would inevitably drift out of sync with contract terms and customer hierarchies, every work order, asset record, and approval routes directly to the managed CRM APIs under the user's own identity.
Normalize state in Redux to tame relational CRM payloads. Managed CRM endpoints often return deeply nested or verbose object graphs. Normalization middleware flattens Accounts, Sites, Assets, Contracts, and Work Orders into indexed Redux slices so UI components render swiftly and reference lookups stay consistent across screens.
Delegate authentication and authorization via OAuth 2.0. Rather than building bespoke credential tables or duplicating role matrices in client code, the app delegates sign-in to the CRM's OAuth 2.0 PKCE flow. Field-level visibility and site access permissions follow the user's CRM profile automatically.
Optimize for zero-surprise submissions on flaky connections. Industrial basements and plant rooms regularly drop packets right as a technician hits submit. Persisting form drafts and attaching idempotency tokens ensures neither work nor billing integrity is lost to a dead zone.
Core Capabilities
Guided mobile work-order creation. Technicians scan or select an installed site asset, review live contract entitlement badges, attach fault classifications, add parts or labour estimates, and submit a complete job order in a linear, thumb-friendly flow.
Site and asset dossier lookup. Before arriving or while diagnosing a fault, engineers inspect recent work-order history, open defects, site access notes, and warranty status pulled cleanly from the CRM asset hierarchy.
Supervisor escalation and approval queue. Out-of-contract jobs or high-value component requests route to regional managers via Firebase push alerts, enabling single-tap approve, reject, or clarify actions on mobile.
Offline draft persistence and retry queue. Technicians can start and save multi-step job orders offline; once signal returns, the queued orders dispatch automatically with explicit success or validation feedback.
Dynamic picklists and validation alignment. Fault codes, priority tiers, and service-type lists hydrate dynamically from CRM metadata endpoints, guaranteeing that field selections match back-office reporting taxonomies.
Technical Architecture
The React Native application runs a clean unidirectional data flow built around React UI components, a normalized Redux store, an API adapter layer tailored to the managed CRM's REST endpoints, and native bridges for secure OAuth login and Firebase messaging.
Flow: Technician triggers OAuth 2.0 PKCE login -> CRM Identity Provider issues scoped access and refresh tokens -> App hydrates user profile, dynamic picklists, and assigned site/asset slices into Redux and AsyncStorage -> Engineer composes work order offline or online -> Submission middleware attaches idempotency key and posts via authenticated REST API -> CRM workflow engine evaluates contract rules, creates Work Order record, and triggers Firebase Cloud Messaging push alerts for supervisor approval or dispatch updates.
Because enterprise CRMs enforce strict daily and per-minute API call quotas across an organisation, the Redux middleware implements request deduplication, ETag/timestamp conditional fetches for reference catalogues, and batched queries when loading multi-asset sites.
Technology Stack
| Category | Technology detail |
|---|---|
| Cross-platform framework | React Native with React powering shared iOS and Android technician workflows |
| Programming language | JavaScript (ES6+) with strict ESLint rule sets across domain and UI modules |
| State architecture | Redux store with normalized entity slices and asynchronous middleware for CRM sync |
| Identity & authorization | OAuth 2.0 Authorization Code flow with PKCE and silent refresh-token rotation against the CRM provider |
| CRM API integration | REST API connectors mapping mobile work orders to CRM Accounts, Assets, Service Contracts, and Line Items |
| Local caching | Encrypted device storage for OAuth tokens and AsyncStorage persistence for reference catalogues and draft orders |
| Push notifications | Firebase Cloud Messaging delivering work-order approvals, priority callouts, and status escalations |
| Monitoring & diagnostics | Firebase Crashlytics and structured API error telemetry tracking CRM quota and validation failures |
Engineering Trade-offs & Solutions
| Architectural Challenge | Engineering Decision & Rationale |
|---|---|
| Direct CRM API integration vs. custom middleware database | Integrated directly with CRM REST endpoints using an in-app normalization adapter, avoiding shadow-database sync drift and inheriting CRM security rules out of the box. |
| Exhaustive offline replication vs. selective slice caching | Cached active site portfolios, asset registers, and picklists in AsyncStorage while keeping full historical archives on-demand, keeping storage footprint predictable and respecting CRM API limits. |
| Embedded WebView login vs. native OAuth 2.0 PKCE | Used system-browser OAuth 2.0 with PKCE so enterprise SSO, MFA, and conditional access policies work seamlessly without exposing credentials to JavaScript memory. |
| Hard-coded form dropdowns vs. metadata-driven picklists | Synchronized CRM picklist schemas at startup so administrative taxonomy changes appear in the field app automatically without emergency binary releases. |
Identity, Governance & Reliability
Zero-trust token lifecycle. Access tokens are kept in secure platform key storage, refreshed silently in the background via single-flight Redux middleware, and revoked cleanly on sign-out or device deprovisioning from the CRM admin console.
Server-side business rule enforcement. Validation failures returned by CRM triggers—such as expired maintenance contracts, missing PO references, or restricted asset statuses—are parsed from structured error payloads and mapped directly onto the offending form field so the technician can fix the entry immediately.
Audit-ready traceability. Every work order raised through the app records the authenticated technician's CRM user ID, submission timestamp, and source channel, preserving strict compliance parity with orders entered on the desktop console.
Operational Outcomes
Industrial field teams gained the ability to initiate validated, contract-aware job orders straight from equipment rooms without calling back-office coordinators or waiting until shift end. Service managers received immediate mobile visibility into out-of-scope approvals, eliminating delays between fault discovery and parts procurement. Meanwhile, preserving the managed CRM as the single authoritative backend prevented data fragmentation and kept financial, warranty, and dispatch workflows unified across office and field staff.