Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter apk/ipa size vs React Native apk/ipa size

React Native APK size for a hello world example is around 20M (in recent versions) because of support different hardware architectures (ARMv7, ARMv8, X86, etc) while Flutter APK size for same application is around 7M.

What's the reason for the difference in size? Do Flutter support all hardware architecture?

like image 857
Vahid Kharazi Avatar asked Jan 27 '23 06:01

Vahid Kharazi


2 Answers

So Junius answer is correct but I don't believe covers the reason why. So Flutter compiles to 100% native code, where RN uses a combination of native code and JavaScript communicating across a bridge.

That is why Flutter does not need to add the JavaScript core thus, the size is smaller. But anyway, as your app grows, the JS part will always be around the same size.

like image 178
sebastianf182 Avatar answered Jan 28 '23 19:01

sebastianf182


Visit to below mentioned url's and may be they could help you out regarding what you are looking for.

https://nevercode.io/blog/flutter-vs-react-native-a-developers-perspective/

https://android.jlelse.eu/comparing-apk-sizes-a0eb37bb36f

if not it will still give more insights to others on how Flutter is different than others, and whether one should choose flutter over any other hybrid app development technology or not.

like image 25
Vicky Salunkhe Avatar answered Jan 28 '23 20:01

Vicky Salunkhe