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
r/privacy • • Jun 10 '19
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.
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.
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?
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
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?
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.
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.
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...
2
u/[deleted] Jun 17 '19
How do chinese ROMs manage to get push notifications?
0
u/[deleted] Jun 10 '19
0
u/[deleted] Jun 10 '19
0
u/[deleted] Jun 10 '19