All work

Case study · iOS · Android · Backend

MoneyFox

MoneyFox helps people in the US find relevant class action settlements, check eligibility requirements, and file claims from their phone.

I was the sole developer on MoneyFox, building the iOS and Android apps, the backend API, and the data pipeline.

  1. Collection

    A Python collector reads web pages and PDFs, normalizes settlement details, and archives source material in R2.

  2. Import into D1

    Records are validated against a JSON Schema and batch-imported from JSONL into Cloudflare D1.

  3. Review and publishing

    A separate publishing step checks sources, deadlines, and eligibility. The Workers API serves published settlements.

  4. Mobile clients

    Native iOS and Android apps read the same catalog API and submit claims in stages.

Two native clients with explicit screen state

On iOS, SwiftUI screens observe ViewModels on the main actor, and service protocols separate API access from screen logic. On Android, Compose collects screen state from StateFlow, Navigation 3 connects feature modules with typed routes, and Hilt provides dependency injection.

Locally persisted claim progress on Android

The Android filing repository stores the session and document batch status locally. On restart it restores the latest session so the user can resume from the saved step. The repository serializes updates to that state.

Traceable settlement records

The collector retains the source URL, fetch time, and content hash for each record. Merging gives priority to regulators and settlement administrators. Conflicting payout amounts or deadlines go into a review log so they can be investigated before publication.

Separate import and publication

Batched D1 upserts update settlements by ID and preserve their publication status. New records pass a separate review of freshness and sources. The API handles search, filtering, and whether a settlement is open for action, keeping the rules consistent across both apps.

Claim submission supports safe retries

The API creates a submission with an idempotency key, accepts documents, and finalizes the claim with a signed PDF. Repeated requests reuse the same operation. Related records are updated in a batch that checks the form version. Tests cover publication rules, atomic form review, and D1 retries.

iOS
Swift · SwiftUI · NavigationStack · SwiftData · URLSession
Android
Kotlin · Jetpack Compose · Material 3 · Navigation 3 · Hilt
Android data layer
StateFlow · Room · DataStore · Ktor with OkHttp
Backend
TypeScript · Cloudflare Workers · D1 · R2
Collection and import
Python · httpx · selectolax · JSON Schema · JSONL
Testing
XCTest · JUnit · Node.js test runner · pytest