How to minify/optimize the size of build’s expo?
When I have performed using sdk 32 my apk had 12MB, now with the 35 is 42MB.
You can generate an app bundle instead of an apk. The app bundle will still be large, but when the phone downloads it from the Play Store, Google generates an apk taylored to the phone.
If you want to manually generate these “taylored” apks from the app bundle, see this post.
See also this post.
Thank you. And for iOS?
Apple will automatically reduce the size once it has been processed. For example, my
.ipa binary generated by Expo is 186 MB. In the App Store, it’s 90 MB.
It’s still large because of included APIs by default, but this is the downside to using Expo.