Disclosure: I am the developer of TIMEZO (SB Infotech).
I recently built and launched TIMEZO: Stopwatch & Timer on Google Play. My goal was simple: create a distraction-free, offline-first timer and stopwatch with zero login walls.
Google Play (Android):** https://play.google.com/store/apps/details?id=site.tiiny.tomato_jolee_83.twa
Here is a breakdown of the technical choices and lessons learned along the way.
1. Drift-Free Timing in JavaScript
A common mistake when building timers in JS is incrementing a counter inside setInterval(). If the browser throttles timers or the tab/WebView pauses, the clock drifts.
Instead, TIMEZO records Date.now() timestamps and calculates elapsed/remaining time from actual system deltas on every tick.
2. SVG Circular Progress Ring
To keep the UI crisp at any mobile screen size without heavy libraries, I used a single SVG <circle> with stroke-dasharray (2 * Math.PI * r) and dynamically updated stroke-dashoffset as time progresses.
3. Automatic Wake Lock While Running
Nobody wants their phone screen turning off mid-workout or during a Pomodoro block. Rather than forcing users to toggle a setting manually, TIMEZO automatically requests the Screen Wake Lock API (navigator.wakeLock.request('screen')) when the clock starts and releases it on pause/reset.
4. Audio, Vibration & Local Persistence
- Web Audio API generates clean completion chimes without shipping bulky MP3 files.
- Vibration API (
navigator.vibrate) alerts the user when a timer or interval ends. -
localStoragepreserves themes, timer presets, and lap splits offline.
5. Publishing Lessons: TWA vs. Native WebView
Initially, I packaged TIMEZO as a TWA, but hit roadblocks with testing platforms and native ad integration. Rebuilding it into a native Android WebView wrapper with offline-bundled HTML solved external banner issues, sped up load times, and got the app through Google Play's 14-day closed testing into Production on the first try.
Try It Out
- Web Demo: https://tomato-jolee-83.tiiny.site
- **** ** If you're building your first indie utility app or navigating Play Store closed testing, feel free to drop questions or UI feedback in the comments!