4 ms·
The unnecessarily large apps probably use cross-platform tools that ship their runtime with each installation, losing out on Apple's optimizations or they have
by mrtksn 7y ago
The unnecessarily large apps probably use cross-platform tools that ship their runtime with each installation, losing out on Apple's optimizations or they have multiple ad tracking or 3rd party UI libraries.
I am not an expert in mobile dev by any means since I switched from web to native mobile development barely a year ago but when I was still resisting to learn the native way of doing things I was exploring the cross-platform solutions and libraries to "take advantage of my current skills", anything that goes beyond the demo todo list app quickly escalated in resource consumption and development complexity.
With these cross-platform tools, the moment you try to do something a little bit differently than everybody else, you find yourself stitching multiple 3rd party libraries together and these libraries add up to the binary size and loading times.
- jamil7 7y agoI haven't used Flutter but I remember Expo being particully bad for this, a hello world app weighs in at 100mb.
- rubicon33 7y ago> With these cross-platform tools, the moment you try to do something a little bit differently than everybody else, you find yourself stitching multiple 3rd party libraries together and these libraries add up to the binary size and loading times. This. I have tons of native iOS experience. Started with react native a little over a year ago and was shocked at how difficult some things are. Easy things are easier. Hard things are harder.
- nicoburns 7y agoYeah, IMO the cross platform tools are mainly designed for apps that aren't doing hard/uncommon things. Which is a lot of them to be fair.
- saagarjha 7y agoA fair number of the just have a bazillion frameworks, even if they’re fully native. Large tech companies are notorious for this.
- dep_b 7y agoI think adding the Facebook SDK added something like 40-120MB to my app if memory serves me correct. One more reason I always use the mobile web version in a WebView every time I can get away with it. It has all of these dependencies like Bolts and what not. All to display 2-3 screens worth of login.
- Malcx 7y agoHmm it might be worth you checking out capacitor, I've shipped a couple of full featured fairly complex apps under 5mb that use the same codebase for iOS and android. I steered clear of ionic and angular developing my own framework and the apps had less than 1mb of assets bundled with them.