Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

No notifications without Play Services

Open mmBesar opened this issue 6 years ago • 31 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

Running Lineage 17.1 without Google Play Services or microG, The "Background connection enabled" is shown in the notification area after restart but still I have to open the APP to get the notifications and massages, while Telegram FOSS working out of the box!

I left WhatsApp and Google, guided my family and friends to contact me only via Signal, it's a shame I still need google to use Signal!

Steps to reproduce

  • Clean Installation without Play Services or microG then restart.

Actual result: The "Background connection enabled" is shown in the notification area after restart but still I have to open the APP to get the notifications and massages. Expected result: It should give me the notifications to the massages without opening the APP

Screenshots

photo_2020-05-19_02-06-39

Device info

Device: Manufacturer Model XT1676 Android version: 10 Signal version: 4.58.5 website - 4.59.10 play store - 4.60.1 apkmirror

Link to debug log

for 4.60.1 apkmirror https://debuglogs.org/9c223308e1f217d4aa37c57bd964e9aba48722a33259246e55ef90ceb534bb9c

mmBesar avatar May 19 '20 00:05 mmBesar

I'm from Qatar and I have the same problem but Signal was never able to submit a debug log on my phone. I've opened this thread on the forum discussing this problem.

https://community.signalusers.org/t/government-circumvention-doesnt-work-without-google-services-in-qatar/13886

I can tell you that the problem is caused by Censorship Circumvention and not using Play Services in the same time.

The evidence I have for this is something you can try yourself:

1-Unregister your local number. 2-Connect to a VPN so Signal can reach its servers as they're being blocked in your country since Signal is connecting to Google domain fronting instead. 3-Register Signal on your same phone that has the problem with a number from any virtual number website.

After registering with the virtual number (in a country that doesn't block Signal), go ahead and test Signal, you'll find that it works like it should be.

Now take a debug log and compare it, you'll find that the following difference: Using your own number (in a country where Signal is blocked) Signal will connect to "google.com" or any other Google url to reach Signal servers.

Using the virtual number, Signal will connect to its own servers "https://textsecure-service.whispersystems.org" and notifications will work normally.

jod-didi avatar May 20 '20 15:05 jod-didi

I'm suspecting something like that, it has to do my provider and region! but Telegram FOSS is working just fine! Hopefully the Signal team will find away.

mmBesar avatar May 20 '20 20:05 mmBesar

I have this problem, too. It used to work two weeks ago on the same ROM, but now the background connection somehow got lost.

The "Background connection enabled" is not shown in the notification area. I still I have to open the APP to get the notifications and messages.

OS: LineageOS 16.0 Microg (no Google account logged in) https://download.lineage.microg.org/beryllium/lineage-16.0-20200331-microG-beryllium.zip

Debuglog: https://debuglogs.org/425a9a3244c28fe37379550f4e384ad99074db1c2eaf87baf3b54446972e223d

TjrGithub avatar May 22 '20 00:05 TjrGithub

@TjrGithub @mmBesar Are you sure you're not describing #9578 ?

It got fixed in 4.60.0. However as greyson mentioned in his reply, you need to unregister and go through registration again for it to take effect.

(It's working for everybody who commented on #9578 , including me)

ronidee avatar May 22 '20 06:05 ronidee

@TjrGithub @mmBesar Are you sure you're not describing #9578 ?

It got fixed in 4.60.0. However as greyson mentioned in his reply, you need to unregister and go through registration again for it to take effect.

(It's working for everybody who commented on #9578 , including me)

As I mentioned above, I have this problem with 4.60.1 clean installation and the debug log for it included.

mmBesar avatar May 22 '20 07:05 mmBesar

@TjrGithub @mmBesar Are you sure you're not describing #9578 ? It got fixed in 4.60.0. However as greyson mentioned in his reply, you need to unregister and go through registration again for it to take effect. (It's working for everybody who commented on #9578 , including me)

As I mentioned above, I have this problem with 4.60.1 clean installation and the debug log for it included.

Oh I see. I assumed the 4.60.1 version was not a clean install but an update in your case. But if it is, that means my previous comment is obsolete of course.

ronidee avatar May 23 '20 01:05 ronidee

I fixed the problem this way: make a backup of Signal (from inside the app), uninstall, install the latest version 4.59.11, import the backup (enter all kinds of passwords in the process), reboot. From then on, it seems to works for me. I'm sorry I can't help with the bug anymore.

TjrGithub avatar May 25 '20 20:05 TjrGithub

I fixed the problem this way: make a backup of Signal (from inside the app), uninstall, install the latest version 4.59.11, import the backup (enter all kinds of passwords in the process), reboot. From then on, it seems to works for me. I'm sorry I can't help with the bug anymore.

I've tried 4.60.1 clean installation!

mmBesar avatar May 26 '20 02:05 mmBesar

The "Background connection enabled" is not shown in the notification area. I still I have to open the APP to get the notifications and messages.

You have a different problem, I do get the "Background connection enabled" in the notification area but no notifications.

mmBesar avatar May 26 '20 02:05 mmBesar

signal being a privacy focused software a big part of its user base should be having no google play services . so it should be better optimised for them . I don't have google play services but notification and background services are working on one of my device(android 10-stock) on the other (android 6-asus-zen ui) it never gets notifications without play services .

silverflo avatar May 29 '20 18:05 silverflo

Any news on the un-playservices the app ?

ghost avatar Jul 02 '20 20:07 ghost

Any news on the un-playservices the app ?

Nothing! They don't care about us!

mmBesar avatar Aug 13 '20 18:08 mmBesar

@ronidee @mmBesar Actually i think it's better to do like telegram or tutanota, the app is always on with a notification (opt-in), and you do that as a switch in settings the default is play services. Like that all people who have play services (google's one) enabled don't change anything, and other can enable the other way (drain more the battery but at least it work).

ghost avatar Aug 13 '20 18:08 ghost

@ronidee @mmBesar Actually i think it's better to do like telegram or tutanota, the app is always on with a notification (opt-in), and you do that as a switch in settings the default is play services. Like that all people who have play services (google's one) enabled don't change anything, and other can enable the other way (drain more the battery but at least it work).

This is the way it should work, but it doesn't!

mmBesar avatar Sep 19 '20 06:09 mmBesar

I don't understand, it has been months now, and no feedback from Signal to this issue! Please, give me something! It's a shame really, I have microG installed only for Signal, the privacy app forces me to use Google Play Service!

mmBesar avatar Sep 19 '20 06:09 mmBesar

Which version do you have? And which Android version and which vendor? For me there is no issue at all. Could it be that your vender has a specially aggressive background killer?

ronidee avatar Sep 19 '20 08:09 ronidee

Which version do you have? And which Android version and which vendor? For me there is no issue at all. Could it be that your vender has a specially aggressive background killer?

I'm the OP of this issue, I've submitted a full log. Now I'm on Android 10 and version 4.71.5 from the site.

I have Telegram FOSS and Element (Riot.im) working just fine without play services or microG.

mmBesar avatar Sep 19 '20 09:09 mmBesar

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jan 27 '22 17:01 stale[bot]

The problem not resolved yet!

mmBesar avatar Jan 27 '22 23:01 mmBesar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 28 '22 23:03 stale[bot]