News for hackers. Stuff that matters.
Re:Fortnite seems to have been removed from the Play Store a... by karlicoss on Thursday August 13, 2020 @07:31PM (#24151119)
And also third party app stores (e.g. F-droid) can't autoupdate the apps for "security" reasons. One can only circumvent this by flashing a patch via phone recovery... which is fairly tedious and scary even for a tecnhical person, let alone regular users.
Re:Fortnite seems to have been removed from the Play Store a... by Wowfunhappy on Thursday August 13, 2020 @08:06PM (#24151534)
Wait, this is news to me! What aspect of Android is making autoupdates impossible? Apps can replace their contents, and apps can run in the background... shouldn't that be all you need?
Re:Fortnite seems to have been removed from the Play Store a... by heavyset_go on Thursday August 13, 2020 @08:22PM (#24151670)
Android requires users to go through the explicit install and upgrade screen to upgrade apps outside of the Play Store. That means that F-Droid can't upgrade applications in the background, nor can they be upgraded automatically. Batch installs are also disabled for third party app stores.
Re:Fortnite seems to have been removed from the Play Store a... by Wowfunhappy on Thursday August 13, 2020 @08:29PM (#24151720)
But isn't an app fundamentally just a collection of files? What is stopping F-Droid from replacing those files? Are executable bits special or something?
Re:Fortnite seems to have been removed from the Play Store a... by karlicoss on Thursday August 13, 2020 @08:47PM (#24151859)
Android apps are heavily containerized, so unless you gave the app a filesystem permission, it can't write to it. By default they can only use their 'own' data storage (which is represented as /data/data/$APPNAME on the filesystem).

But even if you allow filesystem access, it's only for 'non-system' partitions (e.g. sdcard). Unless you rooted your phone (also a pretty tedious operation with a potential to brick the phone), normal apps can't even read files on the system partition, let alone overwrite them, except their 'own' data.

This is good from the security point, e.g. you can run pretty much any app and simply remove it if you feel like it's suspicious and asking for too many permissions. Similar to running a random Docker image: you can try out software without taking risks of losing control over your system, allowing certain capabilities if necessary (e.g. ports, paths). There might be a Docker vulnerability of course, but it's pretty unlikely for you as an individual to be targeted by it.

But it's extremely frustrating when you know what are you doing and which risks you are willing to take, but have to jump through hoops to do things that are otherwise trivial on desktop.

Re:Fortnite seems to have been removed from the Play Store a... by karlicoss on Thursday August 13, 2020 @09:18PM (#24152070)
I've reread your comments, and realized I might have answered a different question in my comment before :)

In theory, you could request broad permissions, and have an interpreter sitting inside your app, dynamically loading its own code over the wire, so you'll never have to update from the app store (unless you want more permissions granted). But as far as I understand, this is forbidden by the Play Store policies (e.g. Facebook got told off for doing this https://arstechnica.com/information-technology/2013/04/googl... ). Although I'd imagine it's easy to slip such code past reviewers, unless your app is very popular and worthy a more thorough review that can catch it.

Also I'd imagine there is some grey area there, e.g. your whole app could be a webview simply displaying web frontend -- surely it's okay to dynamically load javascript? Not sure how the policy works in such cases.

Re:Fortnite seems to have been removed from the Play Store a... by heavyset_go on Thursday August 13, 2020 @08:35PM (#24151783)
Look into the Android security model, it's more complicated than vanilla Linux where you can just log in as root and fiddle with files if you want to get something done.
Re:Fortnite seems to have been removed from the Play Store a... by ngold on Thursday August 13, 2020 @07:36PM (#24151186)
Fdroid pops up and ask to update apps. It's very easy.
Re:Fortnite seems to have been removed from the Play Store a... by heavyset_go on Thursday August 13, 2020 @08:24PM (#24151682)
I don't find it easy to have to individually upgrade each app because Google decided that third part app stores are not allowed to batch upgrade in the background.
Re:Fortnite seems to have been removed from the Play Store a... by monocasa on Thursday August 13, 2020 @07:46PM (#24151329)
Not as easy as autoupdating, and far more annoying for the general user.
Re:Fortnite seems to have been removed from the Play Store a... by rightbyte on Thursday August 13, 2020 @08:29PM (#24151725)
My Firefox mobile was updated during the night and changed the UI completely, moving the bar to the bottom etc and it is just all bad. I see not having auto updates as a feature. Mostly it is just annoying changes and I prefer to know when updates happens so I can track things that break and blame the update.