Search code examples
react-nativereact-native-cli

React native init project is very large in size


Here is the versions I am using

enter image description here

The problem is the project I created using react-native init AddisMereja is of size 20MB.

It does not have anything.

enter image description here

enter image description here


Solution

  • I believe you are talking about the size of the apk file that is generated. If so you can try using app bundle and submit the app bundle to google play store which will handle it according to users device as the apk that is generated by default contains apps for different architectures but you will end up using only one of them.

    This blog post by Krzysztof Magiera explains the process better.