signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.62k stars 6.15k forks source link

Notifications missing Android 12 #12068

Open Munsterbuster opened 2 years ago

Munsterbuster commented 2 years ago

Bug description

No notifications, popups or sounds on Oppo Android 12

Steps to reproduce

Last beta update this morning Incoming message don't send any notifications to the desktop, notification bar or lock screen. Just the info that Signal is unlocked the bar. Turned off the notifications in the app and back on -> same result Turned off the notifications, force closed and cleared cache -> same result Turned oft the notifications in the system, restart and back on -> same result

Device info

Oppo Find x2 pro Android 12 | ColorOS 12 | CPH2025_11_F.13 Signal 5.33.3

Link to debug log

https://debuglogs.org/android/5.33.3/3d2023dc02ab5602be9ec963b202c02fcf50a657e50ccee5c5037201da106a21

woheller69 commented 2 years ago

is this related to #12026 ? Do you get the notification as soon as you open the app?

Munsterbuster commented 2 years ago

is this related to #12026 ? Do you get the notification as soon as you open the app?

Just testing. With both on, only wifi or only celluar, same result. No notification at all when someone sends a message to me. When I open the app, I only see the the number of new messages in the right corner of the contact/message tab from the sender.

cody-signal commented 2 years ago

Your logs show multiple times where we've instructed the system to show a notification. From our side of things, it appears to be working, but Oppo could be doing any number of things that blocks it and we would never know.

Smephite commented 2 years ago

Same problem encountered with Android 12 open beta 1 on oneplus 8

Encountered after updating to said version last night.

https://debuglogs.org/android/5.33.4/d7ca4fb81fcd2a4665bb7256296e7cbbe7a76b75209dc432e68f932b4b907c09

Smephite commented 2 years ago

So apperently the issue stem from Signal using an strange notification sound after the update to android 12 (maybe one that's no longer available?).

I noticed that contacts with custom notification settings did not have the same issue as mentioned above.

I checked the general notification settings and the notification sound was set to 77. After rechoosing the notification sound the problem was fixed.

NokiasSOFT commented 2 years ago

I had the same problem since a month, in Android 11 miui 12.5 in poco x3 pro. Now i've updated to miui13 and android 12 and the problem pressists happening. A friend of mine with poco f3, android 11 and miui 12.5 has the same problem too.

All works great until it stops working! I am receiving msg notifications and then sometimes i receive the floating notification but no sound. After that, no sound anymore! If i kill the app, the notifications stop completely, even the floating stop showing after reopen it. The solution somtimes is applying again the notification sound. Normaly it works! After that, the floating and all the rest work ok.

If reapplying the sound doesnt work, i have to change it to another one, receive a notification that will play the new sound, and then apply the old one again.

Atention. The problem only happens to normal contacts with not personalized notification sound. The personalized ones never fail!

Hope this report helps to fix this!

Edit: I am always using stable version, not the beta (my friend too), but the problem started when for some reason or mistake, the beta version were released to stable users in playstore (it seemed to me that that happened).

thornet2004 commented 2 years ago

I confirm everything that my friend Nokias mentioned

drk002 commented 2 years ago

I also have an issue with Signal notifications after updating to MIUI 13 Android 12. Notification sounds do not respond to the "sounds" setting slider #1 in the attached image. To increase or decrease the volume of notifications I have to use the global "multimedia" slider #2 in the picture.

In MIUI 12.5 notifications worked very well you could set them with "sounds" slider. I'll add that the ringtones in the system application "phone" respond to the slider "sounds" No. 1 and you can adjust them.

IMG_20220405_180103

sophie-kuehn commented 2 years ago

Same issue on Google Pixel 5 with Android 12 using the stable build from PlayStore. No notification until i open the app.

cody-signal commented 2 years ago

@sophie-kuehn could you provide debuglogs?

sophie-kuehn commented 2 years ago

@cody-signal Would not know how to get some, to be honest. My phone is not rooted. And i'm not familiar with Android development/debugging.

sophie-kuehn commented 2 years ago

Nevermind. Found it: https://debuglogs.org/android/5.34.10/2e264f84c0acb1416053dd5c659e95958a08cf2af8b867921f6d86609168ce2b

NokiasSOFT commented 2 years ago

Mine:

https://debuglogs.org/android/5.34.10/00a3caf61dac7901f61baa176efd6860253db4352ef7c7b0ceebc11e58d736c1

Curiously, after I report in here, it didn't happened again!

NokiasSOFT commented 2 years ago

Debug log after problem ocurr. These time I dont have sound even with personalized notification contacts.

https://debuglogs.org/android/5.34.10/23007fc401e701e8658704fd7fe5d928e327057d40f20f835ec13ed944a74996

Miui 13, Android 12, Poco x3 pro

Edit: After go to notifications and reapply the normal notification sound, all is ok now, even the contacts with personalized sound.

drk002 commented 2 years ago

Very big problems after updating to Android 12 and MIUI 13. POCO X3 PRO

Signal forgets settings after rebooting phone:

After uninstalling and setting all parameters, it works until the phone is restarted again.

cody-signal commented 2 years ago

Thanks all, I'm actively working on this. Was able to get my hands on a OnePlus 8T and sort of reproduce an issue. I'm seeing a similar thing where worked fine on 11 and then after updating to 12 some of the chats have been switched to a ringtone with a name of just a #, like 65. I just checked and the names for each ringtone match, but I'm guessing the paths to where they are located changed or were renamed under the hood and so we can't find them anymore.

cody-signal commented 2 years ago

Can folks that frequently have this issue update to 5.37.2 (it's in beta and should be available soon), and then submit a new debuglog after encountering the issue? We added some additional logs around notifications.

maxsenft commented 2 years ago

Can folks that frequently have this issue update to 5.37.2 (it's in beta and should be available soon), and then submit a new debuglog after encountering the issue? We added some additional logs around notifications.

I guess this request is still valid even though the current version available in Google Play Store is already 5.38.6?

NokiasSOFT commented 2 years ago

Can folks that frequently have this issue update to 5.37.2 (it's in beta and should be available soon), and then submit a new debuglog after encountering the issue? We added some additional logs around notifications.

I think that the no notification and no notification sound stopped happening at a few versions before. (With me it seems ok in the last month or more). Can anyone of you (other) guys confirm this, or it's still happening to you?

maxsenft commented 2 years ago

Don't know if it helps, but here's a debug log which might contain information. At least I had it created right after no notification was shown even though new messages were received within short time before the debug log creation. Log can be found here: https://debuglogs.org/android/5.39.3/2349b17193f9af5ab8830ff778563474f5fc5614e46fd8d3f6b4167d13eecfdb

Ch1llb0 commented 1 year ago

Just updated four phones (Xiaomi Mi A1 and A2 Lite) to Android 12 and 13 (all LineageOS 19.1 and 20.0). Notification sounds and lights aren't working on any of them. It seems to be an issue not just with Android 12. The notification banner is shown on screen, but none of the other aspects of the notifications are working. Signal call come in without issues though.

UserX404 commented 5 months ago

Since i updated to LOS21 I also run into notification issues. The phone only vibrates and doesn't play any sound or shows a pop up. Due to it is vibrating message fetching seems to work. As I also didnt get a pop up screen on regular incomming call, it's also possible that it is OS related. Sound plays again after a reboot but after some time it stops playing notification sound again.

https://debuglogs.org/android/7.6.2/56ab1009a0e289d4a3fbfd5bf72fcabd6c6d603c5540e35faf20b582df65d5c8