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

Move from GCM to FCM

Open lehmanju opened this issue 9 years ago • 9 comments

I have:

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

Bug description

Google has released Firebase Cloud Messaging some time ago and encourages developers to migrate from the original Google Cloud Messaging. According to Google this is the new version of GCM, it is quite likely GCM is going to be deprecated in the future.

Why migrate …

https://firebase.google.com/support/faq/#gcm-fcm

lehmanju avatar Aug 02 '17 16:08 lehmanju

Two things:

  • Someone will have to work on removing the analytics functionality from the Firebase libraries before FCM gets put into the app.
  • Signal-Android's dependencies aren't updated until they really have to be.

Based on these two things, I personally doubt Signal will transition to FCM proactively.

nrizzio avatar Aug 02 '17 16:08 nrizzio

Here is explained how to disable analytics

Sent from my Google Nexus 5 using FastHub

lehmanju avatar Aug 02 '17 16:08 lehmanju

AFAICT it's the exact same thing, only they renamed it and rejiggered the client API some. Neither of the "why migrate" bullet points apply to us.

We typically try not to avoid upgrading play services dependencies unless there's some extremely tangible benefit, since not everyone always has the updated compatible version installed.

moxie0 avatar Aug 02 '17 19:08 moxie0

Classyshark3xodus now complains since version 0.33.5

screenshot_20190217-031213_classyshark3xodus

rubo77 avatar Feb 17 '19 02:02 rubo77

why didn't you just remove the Anayltics dependency like Conversations did?

see https://www.kuketz-blog.de/conversations-entfernung-google-firebase-analytics-tracker/

rubo77 avatar Feb 17 '19 02:02 rubo77

@rubo77 Please see https://github.com/signalapp/Signal-Android/commit/a6564f8f8458fa256e4b68fef65210ee0c30d518

greyson-signal avatar Feb 17 '19 03:02 greyson-signal

does that commit remove the Anayltics dependency? In which version will it be published?

rubo77 avatar Feb 17 '19 04:02 rubo77

@rubo77 Yes. To be clear, analytics were always disabled. That commit removes the dependency. The commit is in 4.34.x, which is currently in beta.

greyson-signal avatar Feb 17 '19 06:02 greyson-signal

@rubo77: here's a whole topic dealing with the change: https://community.signalusers.org/t/gcm-will-be-removed-from-google/3888/44

Please let us continue the discussion there (you can login there using your GitHub account), since for Signal, GitHub is reserved/intended for bugs only.

Thanks!

PiCob avatar Feb 17 '19 06:02 PiCob