signalapp / Signal-Android

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

Sometimes I don't receive Signal Messages until I open the app #9259

Closed Tursko closed 4 years ago

Tursko commented 4 years ago

Bug description

Sometimes I won't get Signal IM Messages until I open up the app (then they will all flood in). It might only happen when you haven't used your phone in a while.

**NOTE: I also want to mention that I have Adaptive Battery on BUT the app is NOT optimized and data saver is not on. (I've followed the troubleshooting steps). Signal is also my default for SMS.

Steps to reproduce

Actual result: You won't get the notification/message until you open the app (all msgs flood in). Expected result: You should always get the notification.

Device info

Device: Google Pixel 4 Android version: 10 Signal version: 4.50.6

Link to debug log

https://debuglogs.org/fcff22cc7d9d462ad5d4e5c87eeb0d080bd5ee2834ba03d49dabce849b184154

UserX404 commented 4 years ago

Try this: Android 8 and above

Follow steps for Android 6 above.

Enable Signal to run in the background.

Android phone Settings > Apps > App Info > tap our app > Battery > turn on the 'Background activity' option.

Android phone Settings > Data usage > Data saver > If data saver is disabled, stop here. If data saver is enabled go to Unrestricted data access > Enable Signal.

https://support.signal.org/hc/en-us/articles/360007318711-Troubleshooting-Notifications#android_notifications_troubleshooting_phone

Tursko commented 4 years ago

I mentioned in my note that the app isn't optimized and data saver is not on. Screenshot_20191208-125300

greyson-signal commented 4 years ago

To the best of my knowledge, you just straight-up aren't getting FCM messages. I can see in your logs that no FCM messages were retrieved for a long time, then you opened the app, and messages were retrieved. There's not a ton we can do right now if the system won't deliver our FCM messages.

dwkra commented 4 years ago

I've had the same issue lately. SMS/MMS seem to all arrive on time, but Signal messages are delayed until i open the app. Same battery and data settings as OP, Android 10, just a different phone.

siccovansas commented 4 years ago

I'm having the same issue on a Samsung Galaxy S10 with Android 10 since a few weeks. My Signal version is 4.52.4, but it happened on the previous version as well.

I haven't had this issue before (i.e. the past years) and I double checked that all my background activity/power/data saving settings are correct.

Seeing that @dwkra and @Tursko both also have this issue on Android 10, I guess it might be related to that, possibly in combination with FCM as @greyson-signal suggests.

IanSpam commented 4 years ago

I was a big fan of Signal. 447 open issues in Signal/Android at the time I write this seems a lot. Some seem less pressing than others. Delay in getting notification of incoming messages in an "instant" message app seems like it should be near top of list. Some answers to this thread seem to talk about the battery comment. Is that related to latency of notifications? Please let me know if it is. Not getting notified of instant message arrival is a show stopper. I used to think this was the best most secure IM app around. Any responses or comment are most welcome. Please offer some explanation of "_

There's not a ton we can do right now if the system won't deliver our FCM messages.

_"

Tursko commented 4 years ago

I was a big fan of Signal. 447 open issues in Signal/Android at the time I write this seems a lot. Some seem less pressing than others. Delay in getting notification of incoming messages in an "instant" message app seems like it should be near top of list. Some answers to this thread seem to talk about the battery comment. Is that related to latency of notifications? Please let me know if it is. Not getting notified of instant message arrival is a show stopper. I used to think this was the best most secure IM app around. Any responses or comment are most welcome. Please offer some explanation of "_

There's not a ton we can do right now if the system won't deliver our FCM messages.

_"

My issue RARELY (2-3 times since I started using signal 5 montha ago) happens. If this issue is happening to you constantly then it's most likely a power management issue. What phone do you have?

IanSpam commented 4 years ago

Thanks I see also similar issue talked about in "Messages sometimes show up late and/or in bunches #8692." It is not the same though, because no battery optimisation changes were made on my device. BIG ISSUE if instant message app is not instant.

IanSpam commented 4 years ago

My issue RARELY (2-3 times since I started using signal 5 montha ago) happens. If this issue is happening to you constantly then it's most likely a power management issue. What phone do you have?

Not a battery optimisation issue. Unless there is something that is not a user setting. Phone: HTC Desire 530 Android: 6.0.1 Signal: 4.53.7

lilsebastian500 commented 3 years ago

I went through the checklist, disabled optimization, which was the only thing that wasn't adjusted as required. I still don't receive push notifications from signal. I have 2 other IMs, notifications work just fine there. I hope someone here can enlighten me as to what I am supposed to do now if I want to get signal to send me proper push notifications once someone sends me a message.

Phone: Fairphone 3+ Android: 10 signal: 5.0.4

rattkin commented 3 years ago

This is a big problem for me as well. My signal messages and calls never appear, unless i open the app. This is unusable. Essential ph-1, android 10.

rattkin commented 3 years ago

This is a big problem for me as well. My signal messages and calls never appear, unless i open the app. This is unusable. Essential ph-1, android 10.

As soon as I disabled the "adaptive battery" feature completely, i received a batch of signal messages. Seems like the culprit. Why WhatsApp didn't have this problem?

lilsebastian500 commented 3 years ago

At the time I disabled the battery optimization, signal was apparently having server problems (probably because whatsapp is making itself very unpopular now and signal is one of the go-to apps that are sought to replace whatsapp but couldn't handle so much traffic at once). Now I do receive notification messages but what I still don't receive (even though I activated the option) are notifications about contacts joining the app and that sucks a bit because I don't know who I can contact via signal and who I have to use whatsapp for

lilsebastian500 commented 3 years ago

This is a big problem for me as well. My signal messages and calls never appear, unless i open the app. This is unusable. Essential ph-1, android 10.

As soon as I disabled the "adaptive battery" feature completely, i received a batch of signal messages. Seems like the culprit. Why WhatsApp didn't have this problem?

And I so don't get this either. No messenger has this problem and why should it? It doesn't make sense. That this feature would prevent me from receiving notifications while my battery is low, okay. But all the time? I can only smh

Tursko commented 3 years ago

Hey everyone. The team is trying to solve this issue right now and they are looking for people willing to send in Android debug logs.

https://community.signalusers.org/t/help-needed-share-an-android-bug-report-to-help-debug-notifications/27739

mhandlon commented 3 years ago

I'm having the same issue on a Google Pixel 5 Android 11 Signal 5.4.7

abhilashkrishn commented 3 years ago

This issue is still there. There is no battery optimization or data saver for Signal. I confirmed that this issue is happening only for Signal, other apps are instantaneous. I am on latest signal version and already sent debug logs, but still issue is there.

HalfWhitt commented 3 years ago

I am now experiencing this as well. (Just got a new Android 10 phone, was on 5 previously.) Signal isn't battery-optimized, it's allowed to use background data, and data saver and battery saver are both entirely turned off.

Phone: Blackview BV9900E Android: 10 Signal: 5.13.8

dkolan commented 3 years ago

I just recently started experiencing this issue after reinstalling Signal.

Phone: Samsung Galaxy S10e Android: 11 Signal: 5.24.7.1

benjastudio commented 3 years ago

I'm experiencing this issue too.

Phone: Huawei p30 Android: 10 Signal: 5.24.14

macster2075 commented 3 years ago

I have an iPhone XR and Samsung S20... iPhone works flawlessly with Signal.. but the Samsung is unusable! Same issue as many others.. notifications won't come in unless the app is open.

I have done all the suggested settings like disabling bat optimization.. making sure the app won't sleep.. you name it, I've done it.. still same issue to the point that I stopped using it.. It's a shame because I really enjoy on my iphone.

This issue with Android phones and Signal has been there for years and they can't seem to fix it... so, Im moving on.

ghost commented 3 years ago

Why is closed if it does not work?

It happens only on Android 10 devices for me. Whatsapp gets notifications fine on the same devices.

michaelbutler commented 2 years ago

I use SMS on this phone mostly for PIN verifications from various websites. With signal, I don't receive these messages until I go into the app and send a test message to someone. Even opening the app doesn't seem to receive the SMS. I could go 60 seconds with receiving nothing and then as soon as I send an outgoing SMS I instantly receive the website's PIN verification text.

It's an annoying problem and might not be Signal's fault; it could be something with Android or Google not delivering the messages until user interaction.

vincolus commented 2 years ago

I am having this problem since the day I installed Signal. For other people it seems to work, but for me it doesn't - I get no notifications. I would have to open the app in 15 minute intervals to not miss out on something that could be very important. I did not restrict the app in any way in App Settings, Network Settings or Power Saving Settings and for Telegram and Whatsapp it works flawless.

benjastudio commented 2 years ago

Just a follow-up because one of my friend solved the issue on my phone (android) :partying_face:

In my case, it was due to an unexpected parameter related to power saving. Here is the trick:

(Translation from my french interface)

Go to Settings > Battery/Power > App launch > found "Signal" > Uncheck the button

In french:

Aller dans les Paramètres > Batterie > Lancement d'application > trouver "Signal" > décocher le bouton

The description of the settings (explicitly) tells that when activated the option may delay messages reception... Unfortunately, this option was auto-activated for Signal without me knowing it. :man_facepalming:

BTW: I just lately checked https://support.signal.org/hc/en-us/articles/360007318711-Troubleshooting-Notifications#android_notifications_troubleshooting_phone from @UserX404 comment that basically just do what I wrote for many devices

DieKoet commented 2 years ago

I've also now run into this issue. OnePlus 6 with latest official OOS. Battery optimisation disabled and unrestricted background data enabled for Signal. All other suggested fixes tried but still the issue persists. Even unregistered and reregistered my phone number with Signal without success.

ilcapatina commented 2 years ago

@DieKoet , the notifications started to work on OnePlus after I disabled the ‘Deep clear’ option in ‘Recent app management’ and rebooted the device:

Settings > System > Recent app management > use ‘Normal clear’ instead of ‘Deep clear’

oskbor commented 2 years ago

I had this issue on the Unihertz Jelly 2. I found that it had an app blocker that was constantly killing the signal app. To disable it I went Settings -> Intelligent Assistance -> App blocker -> Signal -> disabled all restrictions. Now messages seems to arrive as they should 👍

ir33k commented 2 years ago

@oskbor Thanks a lot. I had exactly the same issue on my Unihertz Jelly 2. Your solution works like a charm.

alexpetros commented 1 year ago

@oskbor solution also applies to the Unihertz Jelly Star!

dwfmba commented 9 months ago

Fixed this on my daughter's Nokia G10 after changing a dozen settings... It was adaptive battery, toggle off. Battery life is identical, signal delivers immediately now.