Hello everyone,
There is something wrong with the alarm sound, the alarm beep most of the time does not work for me.
I have the complete guidelines of foodoma regarding this alarm which is right below:
Note: Google Chrome requires the interactivity on the pages for about 5-10 seconds of any sound to play.
Documentation of Chrome:
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Look into this section of the documentation:
Example:
If the store owner just opened the page, and just in 1 second a new order came, the sound cannot be played because the browser was not interactive.
If the store owner opened the dashboard page and immediately jumped into a new tab, and if the order comes, the sound won't play.
If the store owner opened the dashboard page and remains there for about 5-10seconds of interactivity(click,tap) and then an order comes they will get notification sound.
If the store owner opened the dashboard page and remains there for about 5-10seconds of interactivity(click,tap) and then jumped into other tabs, even then the sound will play.
They just need to be active on the page for 5-10 seconds of interactivity(click,tap) with every reload of the page. This is the rule set by the browser and not any limitation created by us in the application.
What I have observed, even if I stay on the dashboard for more than 15 seconds including scrolling the dashboard, I never got the alarm beep. Further, If I open the dashboard for 15 seconds and placed the first test order it will not beep but if I tap on accept/cancel button of the order popup then, from 2nd order it will start beeping.
Is anyone facing the same issue? or anyone has any suggestion regarding this problem?