All projects
h

Corporate wellness / Mobile

HealthForward

A corporate wellness app. Employees sync their step count and their employer's program rewards them.

Overview

HealthForward is a corporate wellness app. Employees connect their phone's health data, their daily steps sync to the HealthForward server, and their employer's program turns those steps into points and rewards. Because steps turn into money, the step pipeline is built to be accurate and hard to cheat.

What I built

The main parts of the app I worked on.

  • Connects to the phone's health platform and syncs step counts to the HealthForward server.
  • Daily, weekly and monthly activity views.
  • Rewards, gift cards, redemption requests and reward history.
  • Onboarding, sign-in and notification preferences.

How it works

Technical details from the code.

  1. 01Sign-in uses a work email and a one-time code. Access tokens are short-lived and refreshed from one place at a time, since the server's refresh tokens are single-use.
  2. 02Before any steps upload, the app tells the server the health connection is active. If the user removes the permission in settings, the app reports it as a disconnect.
  3. 03Each sync re-reads the last seven days so late data from a watch still counts. Overlapping records from two sources count once, records faster than 300 steps a minute are dropped, and manual entries are ignored.
  4. 04Queued uploads are signed with an HMAC key kept in the secure keystore, and the app checks that each server answer matches the day and revision it sent.
  5. 05Empty screens show a preview of what will appear and the next step, instead of a blank page. It targets iOS 16+ and Android 10+.

Need something like this?

Tell me about your app and I'll tell you how I'd approach it.

Start a conversation

Keep exploring

All projects