WeatherMaster icon indicating copy to clipboard operation
WeatherMaster copied to clipboard

App size too large?

Open sud0xenn opened this issue 4 months ago • 5 comments

I'm noticing that WeatherMaster out of all the other options is the highest at ~70MB. I installed from IzzyDroid. Is there something that can be optimized here?

Screenshot_2025-08-22-00-02-15-89_fc704e6b13c4fb26bf5e411f75da84f2.jpg

Other apps are all sitting at 25MB tops. I love froggy, but he's not worth 50MB lol xD

sud0xenn avatar Aug 22 '25 04:08 sud0xenn

@sud0xenn The app size is around 27 MB, but once installed, Android uncompresses the resources, extracts native libraries, and sets up the app in the device’s storage. So, the installed size is almost always larger. Usually, there’s nothing I can do; the only way to reduce it would be to remove plugins, but they are necessary

PranshulGG avatar Aug 22 '25 04:08 PranshulGG

Usually, there’s nothing I can do; the only way to reduce it would be to remove plugins, but they are necessary

I understand all that, but I opened this issue in good faith encouraging open discussion to see if others can chime in for possible optimizations. What are the other FOSS weather apps leveraging to have their builds drastically low sized even after all the decompressed resources?

sud0xenn avatar Aug 22 '25 04:08 sud0xenn

@sud0xenn Yes, I get that. This app is built with Flutter, which uses its own Skia engine for rendering. Flutter apps carry their own UI engine, which can easily add 10–20 MB. This is very common for Flutter apps. Native apps, on the other hand, don’t need to include their own engine, so their installed size is usually smaller

The images and other files are already compressed as much as possible

PranshulGG avatar Aug 22 '25 04:08 PranshulGG

I can keep this open if someone can suggest something to optimize. The animations take up the most space, so yeah

PranshulGG avatar Aug 22 '25 04:08 PranshulGG

Flutter apps carry their own UI engine, which can easily add 10–20 MB.

Leaving some things we can try maybe:

  • https://stackoverflow.com/a/64184152
  • https://stackoverflow.com/a/68471641
  • https://stackoverflow.com/a/58552773
  • Questionable but maybe also try obfuscating the code?? (https://medium.com/@Saurabh7973/ultimate-guide-to-reduce-app-size-in-flutter-volume-2-105e0bb316a6)
  • https://medium.com/@rk0936626/beast-ways-to-decrease-your-app-size-in-flutter-11b74757d813 Image

sud0xenn avatar Aug 22 '25 04:08 sud0xenn