GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

[org.thoughtcrime.securesms] Push notifications, priority is changed to PRIORITY_UNKNOWN

Open billie80 opened this issue 1 year ago • 4 comments

Affected app Name: [Signal] Package id: [org.thoughtcrime.securesms]

Describe the bug Push notification priority is changed to PRIORITY_UNKNOWN. During the discussion regarding a push notification issue https://github.com/signalapp/Signal-Android/issues/12325 for Signal (which has been fixed) a Signal developer noted that their push notification priority https://github.com/signalapp/Signal-Android/issues/12325#issuecomment-1175191259 is changed from high-priority to PRIORITY_UNKNOWN. Also a developer of ShiftOS stated that with the ShiftOS-L flavor there are no GMS available and they are not changing any priority https://github.com/signalapp/Signal-Android/issues/12325#issuecomment-1176118333 the question arose if this might be an issue with microG.

I noticed that there was this issue https://github.com/microg/GmsCore/issues/338 requesting to put the app into a temporary whitelist when a high-priority push message is retrieved which might be related. However the pull request https://github.com/microg/GmsCore/pull/732 for the implementation was already resolved long ago in commit https://github.com/microg/GmsCore/commit/60023887d101a272f01425bf7f130576960acd50.

Would be great if you could share any insight regarding this behaviour.

System Android Version: [10] Custom ROM: [ShiftOS-L 3.7 (20220511)]

microG microG Core version: [v0.2.24.214816] microG Self-Check results: [All ticked]

billie80 avatar Jul 08 '22 19:07 billie80

As I understand, ShiftOS-L does not ship with microG. Can you point out how you installed microG?

mar-v-in avatar Sep 19 '22 16:09 mar-v-in

No it does not ship it by default but it enables signature spoofing. I installed it using your F-Droid repo.

billie80 avatar Sep 19 '22 16:09 billie80

In this case, microG does not have privileged access to the device idle controller and can't wake up apps that are not exempted from battery optimizations. Did you exempt Signal from battery optimizations?

mar-v-in avatar Sep 19 '22 17:09 mar-v-in

Yes Signal is excluded from battery optimisation.

billie80 avatar Sep 19 '22 17:09 billie80