简体   繁体   中英

How to reduce app size of a react native app (expo)

I have created a basic todo list app using expo and then built apk for it using expo cloud build service. The size of the app is ~70mb, Which i feel is too much for a basic app. What are the ways to reduce the app size. PS - I won't be uploading to playstore, so app bundle won't work for me.

If you're using some images, try to use tinypng . Also try to use visualize-bundle . It'll help you to understand, what takes up a lot of space for you. Maybe it will be possible to get rid of some library and replace it with another one that weighs much less or write your own solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM