Issue with notification importance (Android 7.0)

Piotr5 years ago

I have a issue with notification on my phone (HTC One A9, Android 7.0)
The message is displayed, but there is no sound and the LED is not flashing.

There is no such problem with other applications. I checked the notification settings for traccar-manager, everything seems to be correct.

As I see in the application code, the IMPORTANCE_DEFAULT level is used
https://github.com/traccar/traccar-manager-android/commit/7186acaed8370ca179b250a7b45e4940937ca57f#diff-bb9e6a99964440e4c6ccbf50485325bcR47

According to Adroid developers site:
Default notification importance: shows everywhere, makes noise, but does not visually intrude.

Unfortunately, it does not work on my phone.
Does anyone have a similar case?

Anton Tananaev5 years ago

I'm guessing is that HTC altered default behaviour in their firmware.

Piotr5 years ago

You're probably right. I checked the traccar-manager application on Samsung A6. Works properly.
However, other applications correctly display notifications on HTC, so there should be a workaround for HTC.