this post was submitted on 06 Mar 2024
868 points (100.0% liked)

196

16338 readers
2597 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 

inspired by this post. the app was €300.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 64 points 7 months ago (2 children)

I wish android natively has a roll back option to un-update apps... But that would be too user-friendly, I suppose.

[–] [email protected] 23 points 7 months ago (1 children)

No, that would use up too much storage lol. Also, 99% of people don't update their apps manually, instead, they just let the Google Playstore handle it whenever it feels like it

[–] [email protected] 12 points 7 months ago

Feels good to finally be part of the 1%

[–] [email protected] 15 points 7 months ago (2 children)

Android doesn't allow you to install an older version of an app over a new version. F-Droid has the UI for it but it doesn't work, the security policy prevents the install.

There's probably a good reasons for that, but I can't think of it other than the flawed reasoning of "it can't be a good idea to roll back an update". I'm sure even Google can imagine a situation where, say, an app update got infected with malware or something like that and it's in everyone's best interest to roll back to the previous version until a clean update arrives. Preventing rollback means the only way to do that is for the user to manually uninstall the app and reinstall the desired version.

Okay, I can think of a possible reason for that policy: it prevents malware from downgrading a target app to a former (official, signed) version which can be exploited. I don't know how realistic this scenario is, though.

[–] [email protected] 5 points 7 months ago (1 children)

You don't need to implement support for rollbacks to handle those "emergency" rollbacks. You could just push a "new" version that's actually the last known good version, and the phone would happily install it.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

You can only do this if you have the signing keys. If the store wants to do this for users (say, if the developer is incapacitated somehow) they can't.

Edit: I'm actually not 100% sure if the signing keys are required for changing just the version number, but I assume so

[–] [email protected] 3 points 7 months ago

That sounds about right for Google play. That said, the point still stands. If Google wanted to implement such a feature, it could probably be done by onky patching things on their store backend. I'm sure it wouldn't be a trivial change, but still it wouldn't need to touch the OS itself. Probably. As far as the phone is concerned, it would still be disallowing rollbacks as usual.

[–] [email protected] 1 points 7 months ago

Apps (almost) always take upgrades into consideration when it comes to migrating data. However they (almost) never take downgrades into consideration.

This is part standard across all software. Migrating forward can already be difficult, but backwards can be impossible, especially if data was lost in the move forward.