dayGLANCE v1.2.6
Bug Fixes
-
Fixed voice-to-task input on Android — Voice recording now works reliably on Android. This was a stubborn, multi-layer issue that took three releases to fully nail down; here's what was actually going on:
The dayGLANCE Android app is a WebView app — the UI is a web page running inside a native Android browser shell. When the voice button was tapped, the app was using a standard web API (
getUserMedia) to access the microphone, the same way a website in Chrome would. This worked fine on desktop browsers and as a PWA, but broke on Android for two compounding reasons:-
Missing permission wiring (v1.2.4): Android WebView doesn't automatically forward microphone permission requests to the system. The WebView was silently denying mic access because the native app wasn't intercepting the request and explicitly approving it. This produced the "allow microphone permissions in your browser settings" error — there are no browser settings to change, because this isn't a browser. Fixed by declaring
RECORD_AUDIOin the app manifest and implementing theonPermissionRequesthook so the system dialog appears correctly. -
WebView audio capture is fundamentally broken (v1.2.5–1.2.6): Even after fixing the permissions, Android's WebView audio pipeline (
getUserMedia) failed with "could not start audio source." This is a known long-standing bug in Android System WebView — the Chromium audio stack inside WebView can't reliably open the microphone hardware on many devices and Android versions, regardless of what permissions are granted. No configuration change or permission tweak fixes it.
The real fix (this release) was to stop using
getUserMediaon Android entirely and instead record audio natively using Android's ownMediaRecorderAPI, accessed via the existing JavaScript-to-Kotlin bridge. The recording is captured natively at 16 kHz, then handed back to the web layer as a blob for transcription. The web/PWA version is unchanged and still usesgetUserMediaas before. -
Android
versionCodebumped to 6
Upgrade Notes
No special steps required. Install the update and voice input will work immediately.
If you previously granted microphone permission and are still on v1.2.4 or v1.2.5: just install this update — no need to revoke or re-grant anything.