Personal Product • Local-First Mobile
DayMarker
A privacy-first Android milestone countdown, memory journaling, and recurrence engine built on React Native's New Architecture, featuring native multi-form home screen widgets, bi-directional calendar sync, and hardware-backed biometric security.
The Operational Friction: Shallow Trackers, Privacy Leaks, and Cloud Tethering
Milestone tracking and countdown utilities on commercial app stores suffer from systemic architectural flaws:
- Unnecessary Cloud Intermediaries: Checking simple deadlines—such as visa expirations, loan amortizations, sober milestones, or personal anniversaries—frequently mandates third-party account registration, remote database sync roundtrips, and invasive tracking SDKs that harvest user behavioral telemetry.
- Offline Transit Failure: When users are traveling on flights, commuting through underground transit, or operating in low-connectivity areas, cloud-reliant apps fail to hydrate cached records or display stale timestamps.
- Absence of Context & Glanceability: Generic counter apps present cold, sterile day tallies. They lack emotional context, rich photo memories, or journaled reflections, forcing users to repeatedly open the app rather than glancing at native home screen widgets.
- Zero Confidentiality for Sensitive Dates: Personal recovery dates, medical treatments, and private relationship milestones are left exposed in plain view without hardware-backed biometric locks.
I engineered DayMarker to solve these compromises: an ultra-responsive, local-first mobile application where records never leave the physical device, protected by hardware biometrics, synchronized natively across Android home screen widgets, and capable of executing complex recurrence rules completely offline.
Core Architecture: React Native New Architecture & Persisted Zustand
To eliminate UI thread jank and guarantee fluid 60fps gesture handling, DayMarker is built on Expo and React Native with the New Architecture enabled (newArchEnabled: true). This replaces the legacy JSON-serialized JavaScript bridge with direct C++ TurboModule bindings for native platform interactions.
Client state is organized into modular Zustand slices:
- Event & Milestone Store: Governs target epochs, custom recurrence intervals, notification payloads, and snooze states.
- Category & Token Store: Manages user-defined grouping tags, custom color swatches, and visual badge taxonomies.
- Memory & Mood Store: Tracks journaled reflections, photo attachments, and emotional valence metrics tied to milestone timelines.
- Automation Store: Coordinates background widget broadcasts and proactive timeline reminders.
All slices persist directly to local disk via @react-native-async-storage/async-storage. Cold launch state hydration completes in under 15 milliseconds, allowing the UI to paint immediately upon launch with zero layout shifting or skeleton loading spinners.
Native Multi-Form Android Home Screen Widgets
Glanceability is fundamental to personal milestone tracking. Forcing a user to open an application just to inspect remaining days introduces unnecessary friction.
DayMarker incorporates native Android home screen widgets engineered using react-native-android-widget and native Android AppWidgetProvider classes:
- Three Dynamic Form Factors:
- Native RemoteViews Rendering: Widgets render directly within the Android launcher process (
app.daymarker.widget.CountdownLarge,CountdownMedium,CountdownSmall) using native AndroidRemoteViews. - Reactive Broadcast Updates: Whenever an event is added, modified, or acknowledged in the local Zustand store, the application dispatches a targeted background broadcast intent that invalidates and repaints the widget cache without requiring the main app process to stay active.
- Zero-Battery Midnight Alarms: Rather than executing an active timer loop on the CPU, widgets render day-level precision timestamps and rely on Android system midnight alarms to trigger incremental text refreshes, eliminating background battery drain.
* Small Widget (2×2): Focused single-milestone glance card displaying current day count and dynamic urgency glow.
* Medium Widget (4×2): Dual-event split card presenting upcoming target dates alongside visual progress bars.
* Large Widget (4×4): Comprehensive category dashboard featuring multi-milestone feeds and quick-add actions.
Autonomous Client-Side Recurrence & Hardware Alarm Dispatch
Cloud-reliant applications depend on remote cron workers or push notification services (such as Firebase Cloud Messaging) to trigger recurring reminders. In an offline-first architecture, all recurrence rules must be evaluated and scheduled autonomously on the client device.
I designed a deterministic recurrence calculation engine that evaluates next occurrence timestamps across complex temporal boundaries:
- Leap-Year Normalization: Accurately calculates February 29 annual recurrences across leap-year cycles.
- Month-End Date Clamping: Prevents date drift for monthly recurrences scheduled on the 31st (automatically clamping to the 28th, 29th, or 30th as appropriate).
- Custom Spaced Repetition: Evaluates arbitrary multi-day or multi-week intervals relative to the last acknowledged milestone.
- Quiet Hours Guard: Evaluates user-configured silent windows, automatically deferring non-urgent alerts to the morning wake window.
Once calculated, the scheduling module interfaces directly with expo-notifications to register hardware alarms into the Android AlarmManager. This guarantees that notifications fire precisely at the scheduled minute, even if the application process has been terminated by the operating system's aggressive battery optimization daemon.
Multi-Provider Calendar Synchronization
To prevent DayMarker from becoming an isolated data silo, the app features a bi-directional calendar synchronization engine interfacing with native device calendars:
- Platform Adapters: Integrates with Google Calendar, Apple EventKit, and Microsoft Outlook via unified calendar sync abstractions.
- Two-Way Binding: Users can import external calendar events into DayMarker as high-priority milestones, or export DayMarker countdown targets back into their external primary calendar.
- Change Reconciliation: Compares local timestamps against external calendar modified dates, automatically refreshing countdown intervals when an external meeting or deadline is rescheduled.
Contextual Milestone Memories & Mood Journaling
DayMarker transforms countdowns from sterile mathematical numbers into living emotional narratives:
- Memory Timeline: Users can attach camera captures and gallery photos directly to any milestone, building a visual retrospective of the journey leading up to a target date.
- Mood Valence Tracking: Includes an integrated mood logger that allows users to record emotional sentiment alongside milestone check-ins, creating visual correlation charts between goal progression and personal well-being.
- Client-Side PDF Milestone Certificates: Using
pdf-lib, users can generate and export high-resolution milestone summary documents and achievement certificates directly on their device, completely offline and ready for printing or sharing.
Hardware Biometric Vault & Data Portability
To provide absolute confidentiality for sensitive personal markers (such as medical recovery milestones, private financial targets, or personal anniversaries), DayMarker incorporates hardware-backed biometric security:
- Biometric Access Gate: Leverages
expo-local-authenticationto enforce fingerprint or facial biometric verification before decrypting or rendering protected category buckets. - Data Portability: Users maintain total ownership of their personal data. DayMarker includes complete offline JSON export and import capabilities, allowing seamless cross-device migration with zero cloud account dependency.
Production Outcomes
- Google Play Production Release: Published and actively maintained on the Google Play Store (
app.daymarker, version 1.1.3, versionCode: 5), meeting strict Google Play Console data safety and security requirements. - < 15ms Hydration Latency: 100% offline-first execution with sub-15ms local cold store reads from disk.
- Battery-Free Glanceability: Shipped 3 native Android widget form factors maintaining continuous visibility across home screen launchers without background CPU overhead.
Key Achievements & Metrics
Shipped production countdown and memory journaling utility to Google Play Store (app.daymarker) on React Native New Architecture.
Engineered multi-form native Android widgets (Small, Medium, Large) rendering via RemoteViews with zero background battery drain.
Designed an autonomous client-side recurrence engine scheduling hardware OS alarms through AlarmManager without remote push servers.
Built bi-directional calendar synchronization bridging Google Calendar, Apple EventKit, and Microsoft Outlook into local storage.