5 ms·
They may not require it, but if companies the size of Epic can't survive away from the Play store[1], I don't hold much hope for indie apps. [1]https://www.the
by dan1234 5y ago
They may not require it, but if companies the size of Epic can't survive away from the Play store[1], I don't hold much hope for indie apps.
[1]https://www.theverge.com/2020/4/21/21229943/epic-games-fortnite-google-play-store-available-third-party-software https://www.theverge.com/2020/4/21/21229943/epic-games-fortn...
- Anon1096 5y agoI believe what the parent comment is saying is that since you can sideload apps on Android, if you want to roll back an update, all you need to do is grab the apk from a website such as apkmirror and then install it. The Play Store moving to app bundles shouldn't affect this.
- grishka 5y agoYeah it's this. Android itself has no idea about Google Play requirements. edit: just tried to back up an app that was definitely installed as a bundle, and yes, the result was a regular apk
- saurik 5y agoThat doesn't make any sense at all, even merely cryptographically (as you would need the signing key to merge the bundle back into a normal apk file and sign that new different file), and doesn't match the behaviors people talk about on various blogs and stack overflow.
- grishka 5y agoWell, the app I tested — YouTube Vanced — is installed as a bundle, you can see Vanced Manager download its parts. I did check with jadx, that apk is validly signed with v1, v2, and v3 signatures. Now, as far as my own knowledge of apk signing goes, v1 signature should definitely be fine because it operates on files inside the archive, so naturally merging multiple apks signed with the same certificate would keep it valid. But v2 signs the archive itself, which means merely repacking it would render the signature invalid. I don't have much of an idea about v3. Maybe there's some algorithm to merge multiple apks such that signatures remain valid. Related question that needs research: how are bundle apps stored after installation? I know that installing a regular apk copies it into /data/app, extracts native libraries from it, and adds its metadata to some XML files I forgot names of. Again, it's been too much time since I did something serious for Android, so I'm not quite up to date on this stuff. (are you the guy behind Cydia btw?) edit again: apparently it doesn't back up the additional parts $ pm path com.vanced.android.youtube package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/base.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.arm64_v8a.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.en.apk package:/data/app/~~JVhMJHpiRhB5U1ZM1MHNmw==/com.vanced.android.youtube-iqpVMVaXRD4XezgeqdjBHQ==/split_config.ru.apk The apk I backed up earlier is base.apk, so that mystery is solved. It probably just adds them all to the classpath in runtime like regular JVM does with a bunch of jars.
- DennisAleynikov 5y agothere seem to be edge cases where the bundle isn't extractable back into an apks but despite packaging my apps as bundles and downloading from the play store they still end up as useable apks in the end. as far as I've gathered bundles are a way of adding multiple ABI's into a smaller shared apk that then is split into per abi by google but I may be entirely off base here
- saurik 5y ago...but the APK file never existed if the app was shipped as an app bundle. The APKMirror people seem to claim you will at least need a special installation app to install the bundle components, which is fine for now as that app can be an APK, but... this is feeling sketch. https://www.apkmirror.com/apk/apkmirror/apkmirror-installer-official/ https://www.apkmirror.com/apk/apkmirror/apkmirror-installer-...
- iggldiggl 5y agoWhile having to use either a custom installer, or if you don't trust any third party app [1] alternatively using ADB (or possibly the package manager directly if you have root) to install split APKs, is somewhat of a hassle [2], the more annoying part is that grabbing an APK from a random device is no longer enough to cover all screen densities, languages and whatever other criteria Google uses to split APKs [3], so good luck finding an older APK version if you're using some exotic screen density or (more likely) language. Curiously enough by the way, Google themselves only recently added a feature to the Play Store which officially allows directly sharing (free) apps with nearby devices. I wonder how that is supposed to work going forward when app bundles will become more and more widespread – can you then only share apps with somebody having the same screen density and language setting? Or can apps at least still fall back to dynamically using the assets for whatever language/screen density was available just like they would today with a monolithic APK? [1] As a perhaps more trustworthy alternative, there's SAI on FDroid (https://f-droid.org/de/packages/com.aefyr.sai.fdroid/ https://f-droid.org/de/packages/com.aefyr.sai.fdroid/), which a quick search indicates that it might be able to read and install APKMirror's bundle format, too. [2] Also the fact that it makes Titanium Backup semi-useless for those apps, even though in other respects I still like it better than any of the other alternative backup apps I've tried. [3] CPU architecture at least, although there's less variation there because almost everything will be either 32- or 64-bit ARM, and even before App Bundles some apps would already ship separate APKs for different CPU architectures.
- smoldesu 5y ago> They may not require it, but if companies the size of Epic can't survive away from the Play store[1], I don't hold much hope for indie apps. What does this have to do with backing up your apps? You can still install APKs even if they do that.