Notification sound

WRobi7 years ago

Hi,
I can't hear notification sound on Android when a message showed up. But mute (bell) is not pressed. What should I do?
Anyway, I realy like your product. I saw feature request for statusbar notification, and whould like to support this idea. We planning to use Traccar for a school bus tracker. It helps parents for less waiting time. But it whould be good to see when the bus arrived to school or a stop. The current notification only appears for a few seconds. Thank you.

Anton Tananaev7 years ago

Are you talking about Traccar Manager app or mobile web app?

WRobi7 years ago

I'm talking about Traccar Manager for Android, but tested on Chrome for Android too. I checked all notification for server and for user, but got message only for moving and stoping (have some geofences). Beep sound only played on PC (browser).

abyss7 years ago

@tananaev
There is an exception in mobile Chrome console:

Uncaught (in promise) DOMException: play() can only be initiated by a user gesture.
:8082/app/controller/Root.js:108 
Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.

Not sure if we can do something with it in mobile Chrome https://bugs.chromium.org/p/chromium/issues/detail?id=178297

May be webview can be configured ...

Anton Tananaev7 years ago

I found a fix for Traccar Manager. Please check version 2.2.

As for mobile website, I don't think it's possible to fix.

WRobi7 years ago

Thank you, it works!