Vinil Prabhu
Vinil Prabhu

Reputation: 1289

Too large react-native release apk

Created a release apk for blank react native app, after analyzing the apk, found that lib folder takes 25mb by default, is there any way this size can be reduced for universal apk ?enter image description here

what i did : Created project using react-native-cli and not EXPO, was expecting lesser size based on google search, but got this

Upvotes: 2

Views: 1719

Answers (1)

Ako
Ako

Reputation: 196

If you check the play store react-native apps size (like airbnb, instagram) you will find out that all of react-native apps size are over 30 MB and it's normal for React-native apps to be much heavier than native apps. You can use react-native-cli instead of expo, your app size at first will be about 17 MB, It's much better i think. isn't it?

You can try this too to make it smaller. see this post on medium

Upvotes: 1

Related Questions