cybex-dev / twilio_voice

Flutter Twilio Voice Plugin
https://twilio-voice-web.web.app/
MIT License
39 stars 80 forks source link

Web notifications not showing even if Sleep mode is off #166

Closed cybex-dev closed 12 months ago

cybex-dev commented 1 year ago

Issue Summary

Web notifications do not show for incoming or missed calls. Only after refreshing the page, notifications work.

Tested with Do not disturb/Sleep mode on and off.

Steps to Reproduce

  1. Open web app
  2. Call web app (observe no notification)

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Affects

Further information

  1. Open developer console (Sources)
  2. Files/sources list, bottom of the list, expect to see flutter_service_worker.js after pages loads (optionally twilio-sw.js while page loads)
  3. Perform hard refresh with (with Ctrl / Cmd + shift + R), only twilio-sw.js should remain.
  4. At this point, all notifications work.