Back to homeRenato Probst
Case study · Mobile app · Website

Field Squared

Senior Software Engineer (React Native) · Upstart13 (US-based) · Jan 2023 – Jul 2023

Mobile app · Website/Jan 2023 – Jul 2023

Field service software for crews working with no signal. I merged two native apps into one React Native codebase that works offline and shares its code with the web app.

  • React Native
  • Expo
  • TypeScript
  • Nx
  • React Native Web
  • Redux
  • React Query
  • Next.js
  • Jest
Read the full case

See it live

  • App Store
  • Google Play
  • docs.fieldsquared.com
2 → 1

native apps merged into one React Native codebase

~60 min

saved per technician per day by working offline

50%

faster feature delivery after the migration

100

tenants using the configurable smart forms

$ cat README.md

The full case

On this page

  • Overview
  • Company
  • Native to React Native Migration
  • Shared Monorepo Across App and Web
  • Offline-First Field Data Capture
  • Smart Forms and Work Order Workflows
  • CI/CD and Release Pipeline
  • Testing Strategy

Overview

Field Squared is a field service management platform for enterprises running large mobile workforces: work orders, digital smart forms, GPS tracking, asset management and integrations back into the systems the company already runs. Its customers are utilities, oil and gas, telecoms and infrastructure, where crews need tools that keep working with no signal. I joined Upstart13 as the senior React Native engineer on it. Over seven months I ported the two native apps into one React Native codebase, put that app and the existing web project into a shared Nx monorepo, built the offline-first data capture the field crews depend on, delivered the configurable work-order forms, and set up the release pipeline.

Company

Field Squared sells enterprise field service management to utilities, oil and gas, telecoms and infrastructure companies. They use it to coordinate large mobile workforces, with work orders, digital forms, GPS tracking and asset management in one place.

Fig. 01 · Company

Native to React Native Migration

Field Squared ran two native apps, one in Objective-C for iOS and one in Kotlin for Android, both multi-tenant. I ported them into a single React Native codebase. Maintenance went from two native codebases down to one, and new features started landing 50% faster because they only had to be built once.

Fig. 02 · Native to React Native Migration

Shared Monorepo Across App and Web

I created an Nx monorepo that put the new React Native app in the same place as the existing web project. Large parts of the web codebase got reused instead of rebuilt from scratch for mobile, and new business rules were written once and shared by both. Code duplication dropped by half and development sped up by 40%.

Fig. 03 · Shared Monorepo Across App and Web

Offline-First Field Data Capture

Technicians work in places with no signal, so the app captures everything locally: photos, files, form data, barcodes and signatures, all multi-tenant. It syncs automatically when the connection returns. Before that, updating the current job or getting the next job's address meant driving back into coverage. Removing that trip saved about 60 minutes per technician per day.

Fig. 04 · Offline-First Field Data Capture

Smart Forms and Work Order Workflows

I delivered the configurable digital smart forms and the work-order workflows on mobile: scheduling, dispatching, route optimization and calendar views. Each tenant chooses which fields appear on its own work-order forms, so a company matches the app to how it actually operates instead of accepting a fixed template. It was adopted across 100 tenants.

Fig. 05 · Smart Forms and Work Order Workflows

CI/CD and Release Pipeline

I set up the build automation on Expo EAS and GitHub Actions. Every merged ticket triggers a new build in the QA environment, so testers get the change without anyone cutting a build by hand. Release time dropped by half and QA turnaround got faster.

Fig. 06 · CI/CD and Release Pipeline

Testing Strategy

Unit and integration tests are written in Jest and React Testing Library, covering the app and the code shared between app and web in the monorepo. Because the business rules live in one place, a test that catches a regression there catches it for both platforms at once.

Fig. 07 · Testing Strategy
Up next

Sistema FAEP

Next projectBack to home