|
|
|
|
|
by GianFabien
266 days ago
|
|
There are only two choices in mobile OS: Android vs iOS. Android is more open and at the core it is Linux. Yeah, I dislike JVM too. What I don't get is that even a simple app, e.g. FB Messenger (not the whole of FB) requires an 84MB download. What on earth lurks in that massive download when the actual app could probably fit into a couple kB? |
|
Apks are zip files. If you pull the apk, load it a tool and see what's there. One exciting thing is the typical way to do string localization in Android results in the string resource files being in the zip file uncompressed. If your apk supports a lot of languages, that's a lot of space. FB Messenger shouldn't have a lot of uncompressed strings, they had a way to manage that when I was there (left 2019), and I think??? there is some support from Google to do better things now too. But between that and images for multiple dpis (which does also have some Google support for doing better), there's a lot of room for bloat. If you're getting a non abi specific apk, there's bloat from different binary libraries too.
FB in particular likes to have multiple ways to do the same thing, which sometimes means having libraries to do X from JVM as well as doing X from native code.