App size too large?
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?
Other apps are all sitting at 25MB tops. I love froggy, but he's not worth 50MB lol xD
@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
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 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
I can keep this open if someone can suggest something to optimize. The animations take up the most space, so yeah
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