Missing LED-Notifications for some Android apps

Moving to Threema Libre on a phone with Android App Support 10 (4.4.0.72 (Vanha Rauma)), I had to use the workaround documented here, to get the LED light blue for a new message.

  • (Prerequisite): Developer mode, enabled, using ssh access and devel-su priviledges.
  • Find the application identifier, using “top” and “ps -Af”: ch.threema.app.libre
  • add the folloging lines in the file /usr/share/lipstick/androidnotificationpriorities:
Threema Libre;chat,chat_exists
package:ch.threema.app.libre;chat,chat_exists
  • restart device

It does not look to be a defect, but it seems that in general this is the file that controls if an android application can use SFOS LEDs for notifications.

Thanks for all hints in this thread!

2 Likes

I made this into a PR

1 Like

To all: In the pull request, it was explained that an improvement is on the way for the system, so that with future versions it is not necessary anymore to list each android application in a file as described above. I’m looking forward to it. :slight_smile:

@thigg thanks for the pr.

Thanks for all of the discussion on this. As you point out @ber, and as explained by @pvuorela on the PR, the approach is changing and it should fix this issue in the next major release. I’ve therefore tagged this as “fixed”.

It would be great if you could please test it again after the release to check it then works as expected, and report back here.

To kick this off again.

I cannot get and audio alerts with notifications on the Home Assistant app.

Should the “fix” mentioned above have sorted out this problem or is there another issue I need to look at?

I tested the notifications from WhatsApp and Signal on an Xperia 10 III running the upcoming 4.6.0 release (the next after 4.6.0.13).

I sent pictures via the two apps to the phone. In all cases, the phone indicated the incoming messages in these ways:

  • sound and vibration
  • banner at the top of the display
  • blue LED blinking first, then steady blue light
  • item in the Events view.

There should not be any fixes for this issue after 4.6.0.13, though. The already published 4.6.0.13 should work in the same way.

Does anyone (in addition to Alan) have problems with the notifications on 4.6.0.13?

1 Like

Just clarify, it’s only the audio part of the notification that I’m not getting. The notification works otherwise.