Reverse engineer library used to receive push notifications through Google servers (GCM/Firebase)


#1

I am no Android dev, so sorry if I did not see it in the list, but is there also a try to rebuilt/re-make the library that Android apps have to embed to be able to receive push notifications through Google servers (GCM/Firebase)?

A big reason may be that Google has e.g. been catched to enabling telemetry in that library by default… That is obviously not a good thing.

Obviously, I am thinking of not only F-Droid here, but rather the whole community/many apps that may just want to have such a small lib that they can embed to be able to satisfy user’s need for reliable push notifications while not shipping closed-source code. That would e.g. make publishing apps on F-Droid with that technology possible…

While many of you might say I do not want to use this, we have to keep the reality in mind, i.e. many users do have Google Play Services installed anyway, so optional support for these in 100% FLOSS apps would be a great thing, IMHO.
Also, keep in mind that if you do use something like microG (Lineage MicroG) on your phone then that component is also FLOSS. And if nothing sensitive is sent over these push messages, this can be an acceptable trade-off.
Note I do not want to spark a discussion about whether this is good or not, this is something everybody has to decide for themselves. But I think it would be great to have the possibility to choose this trade-off, at least. (And personally, I’d like it.)

Basically it is the client lib’s counterpart to microG that is still missing…

Edit: Moved from Call for Help: making free software builds of the Android SDK.


Call for Help: making free software builds of the Android SDK
#2

@rugk microG is doing what you describe. But that’s not related to what
this thread is about. This is about making free software, reproducible
rebuilds of the Android/Google libraries that are already free software.


#3

Okay, but microG is only one part. The apps also need the libraries to connect to microG, AFAIK. (Is not that actually why you cannot include them in F-Droid – even with a “promotes non-free services” tag?)

Re-creating that lib was the aim of my description.


#4

still, off topic. microG releases client libraries to interact with
Google Services.


#5

Really, that would be great! Can you point me to the lib?

Oh, just saw this – do you mean this?

If so then, yeah, it’s still experimental (so it could certainly need some help, as far as I see), but yes, it looks like it is what I am looking for.


closed #6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.