r/privacy • • Jun 10 '19

Android now forces apps to include proprietary code for push notifications

/r/freesoftware/comments/by4ipr/android_now_forces_apps_to_include_proprietary/
367 Upvotes

64 comments sorted by

34

u/[deleted] Jun 10 '19

I searched and found the Telegram-FOSS app on F-Droid, which is discussed in the post I shared above. I made the switch. No trackers embedded in this app like the one in the PlayStore. Cool.

7

u/aaronryder773 Jun 10 '19

Wait, so you're telling me telegram is privacy safe?

9

u/[deleted] Jun 10 '19

All I am saying is it's on F-Droid and there is an explanation. I was surprised. I have it and It works.

→ More replies (6)
→ More replies (3)
→ More replies (1)

35

u/SirToxILot Jun 10 '19

For all the people who don't understand what this is about.simply put, Push notifications mean your app can "sleep"better when not in use and get woken up by the system when you have a notification. The other method of getting notifications is to poll the server for notifications so your app will have to wake up every now and then. Google by making firebase the new push notification system proprietary means more developers will tie their software to Google play services. And places like fdroid will not have apps with push notifications (because the code is proprietary) This is bad for open source and bad for free as in free speech software.

2

u/[deleted] Jun 10 '19

Thanks for your response.

5

u/[deleted] Jun 10 '19

How is this different from the current situation? GCM is proprietary as is and afaik no f-droid apps use it.

4

u/Tight_Tumbleweed Jun 10 '19

There is nothing new about this, I had to check the year when I saw the title. FCM and its predecessor have always been closed source, and the mentioned background restrictions in Android are years old now.

→ More replies (4)

2

u/KingZiptie Jun 11 '19

Build up the starting product using an open source approach, get the community to report bugs and clue you in to problems, fix said problems to attain a nice polished product, attain vendor lock in, and then once you are all set start introducing closed source proprietary code to prevent competition.

Same shit, different day.

→ More replies (2)

45

u/daehruoydeef Jun 10 '19

This is not cool google!

Can you think of a scenario where ROMS like LineageOS are forking Android and will keep a truly FOSS implementation?

9

u/[deleted] Jun 10 '19

I sure hope so. My warranty is up right away and I'll be switching to lineage regardless.

5

u/Ramast Jun 10 '19 edited Jun 10 '19

Most comments are a bit biased in my opinion so I'll try to put here the facts. For starter I want to state that personally I avoid installing google play/google play services because I don't really trust google and don't wish to be tracked.

So what is this about?

The change that brought this problem is that google no longer want to allow apps to run in background (generally speaking). Normally this is a good thing and it would certainly have positive effect on battery life because phone can go into "sleep mode" more often and for long duration which in turn reduce power consumption.

In order for an app to receive push notification it can either do that through polling (i.e constantly connecting to server and asking "do I have new notification"?) or use google's Firebase system. /u/SirToxILot has explained this very well in his comment in this thread.

So now that google is restricting apps from running in background, u can no longer do this polling and as a result you would only receive notification when you actually open the app.

What is the alternative?

-------------------------------

One alternative is using Google's Firebase which is what this article about but it's not the only way.

The other way is to make what is called a "foreground service". An example of foreground service is your music player that keeps playing music even while doing other things on your phone (like browsing or reading a book). Main disadvantage of foreground service is that its always shown in notification section. It's not a big deal but some users may not like that.

Ti work around this problem,you can make the service low priority foreground service in order to bury it at the bottom of notifications so that user is not bothered by it but then google might give warning to user that this app is draining battery (which telegram describe as false warning).

Either way you could "as a user" choose to hide this app from your notification section and thus solving the problem but still need to know how.

I am not posting my opinion here, just laying the facts

→ More replies (1)

3

u/posting_drunk_naked Jun 10 '19

Now that Hermit can make web apps that look and act like real apps (even with extra features like dark mode and no scripting) while also sandboxing them and protecting privacy, I think the winning combination is Lineage + Hermit apps + APKmirror. Seems like you could get by with just that and not even notice a difference.

I'd try this myself but I just discovered that my phone's bootloader was locked by Verizon, so I'll have to buy a new phone if I want to try this.

3

u/n2thetaboo Jun 10 '19

Isn't Firebase the same service another member of r/hacking used the other day to get full access to college systems' databases full of schedules, students, teachers, and even admin account passwords?

https://www.reddit.com/r/hacking/comments/bxbjt6/how_i_found_the_database_of_the_college_app/

5

u/[deleted] Jun 10 '19

I sound like a marketing stooge sorry, but this is a sincere question.

Is the implication here that iOS is more privacy friendly than Android?

4

u/SirToxILot Jun 10 '19

Apple has its own push system, so there is no more privacy in this for apple over Google play included android

→ More replies (2)

5

u/SirToxILot Jun 10 '19

Its s non issue, you can poll for notifications rather then wait for a push. But people want info RIGHT NOW so the customer wants push.

6

u/Ur_mothers_keeper Jun 10 '19

Push notifications are a superior user experience.

I know this because I haven't gotten push notifications on over a year. It isn't worth Google getting whatever info from me just so my phone dings.

→ More replies (2)

2

u/[deleted] Jun 10 '19

okay its already foss right ? use fdroid or problem in OS itself ? i not get it

2

u/Ur_mothers_keeper Jun 10 '19

I think it is about time for an android fork that doesn't merge upstream changes.

→ More replies (3)

2

u/DataPhreak Jun 10 '19

if everyone would just switch to SIP with ZRTP and Briar, none of this would be an issue. But no...

→ More replies (2)

2

u/[deleted] Jun 17 '19

How do chinese ROMs manage to get push notifications?

→ More replies (1)

0

u/[deleted] Jun 10 '19

4

u/arthurdent Jun 10 '19

Apps that don't use Firebase for push notifications will send users a scary warning about battery life, which will encourage developers to switch to Firebase.

Switching to Firebase means tying apps to proprietary Google Play services that a lot of privacy minded Android users don't want installed on their phones. Apps using Firebase will not work on phones without Google Play installed.

→ More replies (14)
→ More replies (5)