Microphone button fails with zero feedback
Pros & Cons · found via user-reported issue during real-world usage
- Environment
- Pros & Cons web build, desktop browser, real-world usage (user-reported).
- Steps to Reproduce
-
- Open the app in a browser with no microphone permission granted yet.
- Tap the microphone button.
- Deny the browser's permission prompt (or use a browser without Web Speech API support).
- Expected Result
- A clear message explains what went wrong (permission denied, unsupported browser, etc.) and the button returns to its idle state.
- Actual Result
- Nothing happens. Every speech-recognition failure path only called
print(), which is invisible in a production build - the user has no way to know whether to retry, grant permission, or switch browsers. - Evidence
- Browser dev-tools console showed only
print()output on failure, with no UI change at all - confirmed across a denied-permission case and an unsupported-browser case. - Impact
- This is a voice-note app - the mic button failing invisibly means the app's entire core feature appears completely broken, with no diagnostic path for the user or for whoever triages their bug report next.
- Severity & Priority
- High severity - core feature appears fully broken with zero feedback. Priority: fix immediately.
| Happening in Prod | Environment | Occurrence / Reproducibility |
|---|---|---|
| Yes | Prod | Always (5/5) |
Fixed: added error tracking and a live
onError callback so every failure now surfaces a specific SnackBar message instead of failing silently.Scenario: Microphone permission denied
Given I am using the app in a browser
And I have not granted microphone permission
When I tap the microphone button
And I deny the browser's permission prompt
Then I should see an error message explaining access was denied
And the microphone button should return to its idle state
Scenario: Unsupported browser
Given I am using a browser without Web Speech API support
When I tap the microphone button
Then I should see a message suggesting Chrome or Edge