CookieJarApps / SmartCookieWeb-Preview

SmartCookieWeb, redesigned using GeckoView
Mozilla Public License 2.0
257 stars 17 forks source link

[Question] Size Differences Between GitHub and Play Store Installers #112

Open moriel5 opened 1 year ago

moriel5 commented 1 year ago

I have noticed that for some of reason, the SAI installation for SmartCookieWeb-Preview takes up about twice as much storage as the standard APK from GitHub.

Is there a bug going on with Google's algorithms?

CookieJarApps commented 1 year ago

The Google Play release of SmartCookieWeb Preview recently switched from APKs to app bundles. The bundle built from the app source and uploaded to Google Play is 243 MB (for 17.0), but the file served on Google Play should be no larger than 74 MB for any device configuration. Is the file being downloaded for you on Google Play unusually large or is the final storage footprint of the app once installed from Google Play the issue?

moriel5 commented 1 year ago

I'm not really installing it from the Play Store (well, I use Aurora Store), because I can see that something is wrong with the file sizes even before downloading the parts (Aurora Store allows me to see beforehand what files will be downloaded and how much they weigh).

I generally see much smaller sizes with SAI installations, due to only the necessary parts being downloaded, which is why I noticed this.

Update: Upon looking at the contents of the CPU Libraries split, it appears that the issue at play is simply improper compression, as the decompressed libraries do, indeed, total at a few megabytes less than the decompressed libraries within the standard APK from GitHub.