← All work

ios app · 2025–26

Snooze Lane

// result

Wake-ups that still fire underground, across 3 transit agencies

Snooze Lane lets you fall asleep on the train or bus and still wake up on time. You pick a destination, and the app wakes you when you get close, by distance, not by guessing a time. I designed and built the whole product: the SwiftUI app, the Firebase backend and a Cloudflare Worker that serves live transit data.

  • iOS app
  • Web app
Client
Own product
Role
Product, design, iOS and backend development
Timeline
Oct 2025 – present
Platform
SwiftUI, Firebase, Cloudflare Workers, RevenueCat, Twilio
115
Swift files, ~28,600 lines
3
transit agencies in one feed: MTA, NJ Transit, PATH
88
commits from prototype to App Store hardening
4.0 mi
adjustable live transit search radius
01

The challenge

Time-based alarms fail commuters. Delays, express trains and traffic make “wake me in 40 minutes” useless. A location alarm has its own problems: iOS limits background location, trains go underground, and an alarm that never fires is worse than none.

It also had to pass App Store review with subscriptions, ads consent, account deletion and a privacy manifest.

02

The approach

Build the alarm around geofences and location triggers that iOS honors in the background, then layer backups on top: on-device alarms, a timed fallback, and a Twilio wake-up call that retries offline.

Keep transit APIs off the phone. A Cloudflare Worker normalizes MTA subway and bus, NJ Transit rail and bus, and PATH feeds into one JSON contract, checks the user’s Pro entitlement and caches realtime data briefly.

03

What I built

01

Trip-based wake-up alarms

Pick a destination and alarm range; a progress ring shows how close you are. Geofences fire even with the app closed.

02

Underground-proof backups

On-device alarms, a timed backup and a phone call that starts speaking when you answer.

03

Live Transit Nearby

Stops by route or by station within 0.10–4.00 miles, official line colors and minutes until departure.

04

Rest-time estimates

Apple MapKit routing ETAs with a crow-flies fallback, plus a sleep dashboard built around the commute.

05

Subscriptions and wallet

RevenueCat in-app purchases, Basic and Premium tiers, promo codes with an admin view.

06

Store readiness

In-app account deletion, UMP + ATT consent, privacy manifest, CI for iOS tests, worker typecheck and functions lint.

04

How it fits together

  1. 01SwiftUI appGeofence + trip state
  2. 02FirebaseAuth, Firestore, Functions
  3. 03WorkerPro check + transit API
  4. 04GTFS-RT feedsMTA · NJT · PATH
  5. 05TwilioWake-up call backup
05

What improved

BeforeAfter
Alarms set by guessing a timeAlarms triggered by distance to the stop
Location lost undergroundOn-device and timed backups, offline call retry
Three agencies, three formatsOne normalized Worker API the app trusts
Rejected for an unused background modePermissions trimmed to exactly what the app uses
06

Stack & why

  • Swift 6 / SwiftUI / MapKitNative background location and the smoothest map experience on iPhone.
  • FirebasePhone auth, cloud-synced trips and preferences, server functions.
  • Cloudflare WorkersOne fast, cached API in front of messy transit feeds.
  • RevenueCatSubscriptions and entitlements without hand-rolled receipt checks.
  • TwilioA real phone call when a push notification is not enough.
  • GitHub ActionsTests and lint on every pull request.
07

Build log

88 commits · Oct 2025 – Oct 2026Highlights from the repository’s commit history, in the original words.

  1. Add comprehensive export and sleep analytics functionality
  2. Add access code entry for free user view in admin section
  3. Trip progress ring, alarm range, map theming, and layout
  4. Redesign Sleep Dashboard around commute rest estimates
  5. Add PATH and NJ Transit live nearby via Worker GTFS feeds
  6. Keep wake-ups working underground: on-device alarms, timed backup, offline call retry
  7. Add in-app account deletion (App Store guideline 5.1.1(v))
  8. Harden the alarm path for lock-screen and underground trips

Have a project or a role in mind?

Let’s build something good.
Start a project