Skip to content

Fix iPhone notification audio - #48

Merged
olegberman merged 1 commit into
mainfrom
agent/fix-ios-notification-audio
Jul 28, 2026
Merged

Fix iPhone notification audio#48
olegberman merged 1 commit into
mainfrom
agent/fix-ios-notification-audio

Conversation

@olegberman

Copy link
Copy Markdown
Contributor

What changed

  • replace the @rexa-developer/tiks Web Audio wrapper with one reusable HTMLAudioElement
  • unlock playback during the first touch, click, or key interaction and reuse that player for mail and toast sounds
  • ship small local WAV files and precache them with the PWA shell
  • add audio-unlock and PWA-cache coverage and remove the unused dependency
  • include the fix in the existing 0.1.16 release notes

Why

Mobile Safari was not playing the synthesized notification sounds even in the foreground after the user interacted with HQBase. The previous dependency did not reliably satisfy iPhone's media-unlock behavior.

User impact

After the first interaction with HQBase, foreground mail and toast notification sounds can play on iPhone in both Safari and the installed PWA. Reduced-motion remains respected and audio failures remain non-blocking.

Validation

  • CI=true WRANGLER_LOG_PATH=/tmp/hqbase-ios-audio-check.log pnpm check
  • CI=true WRANGLER_LOG_PATH=/tmp/hqbase-ios-audio-dry-run.log pnpm deploy:dry-run
  • CI=true pnpm test:pwa
  • workspace node scripts/check-docs.mjs
  • git diff --check

@olegberman
olegberman marked this pull request as ready for review July 28, 2026 18:56
@olegberman
olegberman merged commit 72e1247 into main Jul 28, 2026
1 check passed
@olegberman olegberman mentioned this pull request Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant