3 ms·
They shouldn't have used external storage while using API for silent installs, full stop. https://developer.android.com/guide/topics/data/data-storage#filesInt
by berdario 6y ago
They shouldn't have used external storage while using API for silent installs, full stop.
https://developer.android.com/guide/topics/data/data-storage#filesInternal https://developer.android.com/guide/topics/data/data-storage...
The fact that the norm is different is a good point, but the norm is also not to implement your own app stores.
In fact, if internal storage is so limited that you don't have space for the APK, you'll get errors due to lack of space even while installing apps from the Play store
- Groxx 6y agoSure, normally you need about 2x to install anything (both apps are kept until the new version is done and validated). But that's less than the 3x, if you also kept the download there. Anyway. Yeah, silent installs make this dangerous, no disagreement there at all (tho they're always more dangerous. I'd prefer to never have them). But there's also no reason that Android can't provide a protected external store, except that they've been self-destructively hostile to external storage in any form. It won't work if you remove the SDCard and manipulate it elsewhere, but that's not the attack vector here - it's entirely possible to protect from things on-device, just like they do for internal storage. They even partially achieve it now, with "adopted" internal storage, so it's absolutely possible.