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

Feature Request: Let users choose between GCM PUSH and the new WEBSOCKET based notifying service

Open ghost opened this issue 9 years ago • 8 comments

I have:

  • [x] searched open and closed issues for duplicates
  • [x] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports

Feature description

Most of signal messages I send to my buddies only get delivered( or calls tried notified) when their signal app is opened. This was the case with me until I moved to AOSP and with the new solution for non play services users, now the messages come in very swiftly even when the app is not in foreground. All my buddies are on stock rom and I understand there may be issues with play services configuration etc.. But not everyone are geeks and everyone cannot move to AOSP for different reasons and not everyone can or wants to contact support with debug log when there are good alternatives for instant messaging already installed on their phones. So if the affected users have ability to choose between type of notifying services (GCM PUSH or the WEBSOCKET one), it would simply overcome the issues of no/sluggish notifications and message delivery.

ghost avatar Mar 02 '17 09:03 ghost

Maybe this could be automated. Is there an API or an other possibility to check if a phone has GCM-connection? Then someone could implement an automatic fallback to WebSocket if GCM is missing. This way no additional setting would be necessary and all users with failing Push-notifications would benefit.

wizardofid avatar Mar 02 '17 09:03 wizardofid

https://support.whispersystems.org/hc/en-us/articles/218112597-Where-are-my-notifications-

Tell them to try this

KarolTrzeszczkowski avatar Mar 02 '17 10:03 KarolTrzeszczkowski

@KarolTrzeszczkowski Tried those workarounds, few of them like unregistering and registering helped but only temporarily. Once the network connection changed, message notifications were not going through until app is open. Sometimes I feel like GCM is sabotaging Signal app's penetration into masses. I wonder how it is working for rest of signal users!

@moxie0 Kindly consider the feature request or provide with a concrete workaround/fix.

ghost avatar Mar 07 '17 08:03 ghost

Any details on your the phones? Xiaomi, Huawei, and ASUS devices (among others, noticed most with Chinese-based devices) are notorious for killing background apps in the name of battery savers/optimizers.

tsdmgz avatar Mar 10 '17 11:03 tsdmgz

This would be a good feature

It seems like as of Signal 3.31.4, Google Play services needs to be missing or disabled to use Websockets.

Here’s why the Websockets are beneficial: Since 2015 it is a great idea to be on a Nexus/Pixel Android factory image, because that’s where the security updates are. These have effectively wiped out the cottage industry of custom roms.

Then, on the Google, people with privacy concerns are going to block everything, including Google Cloud Messaging. Therefore, it’s a great idea to not rely on GCM or Play Store or Services Framework. It appears both SMS and Call verification currently requires it for the beta build. The apk can be fished off a less secure rooted Android.

On the page where the phone number is input, there should be an ability to select the non-Google even if Play services are enabled

haraldrudell avatar Mar 21 '17 06:03 haraldrudell

This doesn't seem like a good idea. The right answer is never more options. If the push-based approach is failing on some ROMs, we should focus on fixing that. As for the use-case for using a Nexus factory image but blocking Google Play Services, I don't buy it. Trying to mitigate something like Google Play Services that is deeply integrated into the operating system is a fool's errand and will only lead to a false sense of security. Plus, trying to do so implies a rooted phone. Now, I have a rooted phone myself. But that does carry with it certain (unideal) security implications.

strugee avatar Mar 21 '17 18:03 strugee

At least creating a websocket connection every 30 minutes and checking with server for new messages would help for users with playservices issues.

ghost avatar Mar 27 '17 05:03 ghost

Hi, what is the current status of this feature?

louisabraham avatar Jan 12 '21 14:01 louisabraham