Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving notifications when phone is locked and connected through WIFI #8579

Closed
4 tasks done
ErwinDex opened this issue Feb 1, 2019 · 4 comments
Closed
4 tasks done

Comments

@ErwinDex
Copy link

ErwinDex commented Feb 1, 2019


Bug description

Whenever I lock/sleep my phone (screen goes black) and when I am on wifi I do not get any messages from Signal. Only when I open my phone (I do not have to unlock it, just turn on the screen) I get a "retrieving message" pop up on the screen and after that the signal messages comes in.

Whenever I am on data (4g) messages come through regardless of whether i have my phone locked or not. On Data it works fine.

IN the WIFI settings i have it set on keep wifi on during sleep.
Signal is not being optimized for battery savings.

Whatsapp for example works fine on both wifi and data (messages give push notification when phone sleeps)

I followed this https://support.signal.org/hc/en-us/articles/360007318711-Troubleshooting-Notifications

And nothing seems to work.

Steps to reproduce

  • Turn on wifi
  • Lock phone turn off screen
  • make friend sent message
  • Wait.

Actual result: Not receiving the message, only when i turn on screen I get "retrieving message" and after that the message comes in.
Expected result: I should get a push notification of signal, even when my phone sleeps and its screen is turned off. Whatsapp ie works fine.
I do get this notification on Data but not on Wifi.

Device info

Device: samsung j3 2016
Android version: 5.1.1
Signal version: 4.32.8

Link to debug log

https://debuglogs.org/1399dff44e93155a45be8004c2daefbf42b066e492496f64ebd6b1d7b650b810

@igor2x
Copy link

igor2x commented Feb 3, 2019

I can reproduce a problem in landscape (date is left aligned instead of centre aligned).
In my case I can move between landscape and portrait how many times I wish and in portrait date is always correctly centre aligned.

Device: Google Nexus 5x
Android version: 8.1
Signal version: 4.32.8

sample

@billie80
Copy link

billie80 commented Feb 3, 2019

This should probably go to #8583!?

@greyson-signal
Copy link
Contributor

@ErwinDex Unfortunately your logs show signs of Signal fighting against the restrictions some Android manufacturers put in their phones.

  1. Some manufacturer's will straight-up delay our push notifications, or batch them together, to save battery in various situations. These situations are manufacturer-specific.
  2. Some devices will prevent or limit the use of network, even after we've received a high-priority push notification, which can delay us pulling down messages.

At the moment, I don't think there's much we can do. Signal itself does not treat mobile data differently from Wi-FI when processing notifications. It's your phone trying to optimize battery. There's a guide here that I also like that you can check out. Also worth noting that a lot of manufacturers have secret whitelists for popular apps like WhatsApp, which is likely why that app is unaffected.

I'm going to keep thinking about this, but I don't think we have any actionable steps right now.

@Hkarimi561
Copy link

i have this issue with some non sumsung mobile and i didnt see the notfication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants