it will be great if there will be any options to help reducing app size because just simple app size take 24Mb and thats a lot
Hope it be resolved in next version
Any update for this task ??
When expo updates its react native version to 0.61, using Hermes (new js engine for mobile) should decrease your app size significantly and also decrease TTI by up to 2s. I was at React Native EU conference so this is the latest info
After moving from expo 34, my app size increased from 15Mb to 46Mb for both App bundle and APK as well, even in google play store its showing around 25 Mb for app bundle, i think this is pretty huge size for a simple application.
@Niranjan Devasani: Did you found a solution?
@Alireza Darvishi: NO, we have to generate app-bundle using "expo build:android -t app-bundle" , when we upload this bundle to the google play store, google will do the magic, like generating different APK's for different versions and finally it will compress the APK size up to 50% of the total size ( 25Mb ) . i feel this is good size but still for simple application having 25 Mb is too much, still need more improvement on this.
@Niranjan Devasani: I have noticed this as well, our app went from 17Mb to 47Mb after expo 34 and unfortunately for us a large portion of our customers are in China and cannot download from Google so we manage and release APKs. Really hope expo can address this at some point.
@Taylor Moss: React native had added enabling hermes, that is reducing my app size to 5Mb from 45 Mb, after processing in google play. even before i saw app size is less than 10 Mb. if expo added this feature may be App size issue will get resolved.
hey, thanks that this feature is in progress, can anyone say when it may be available?
The generated ipa through expo build ios is too huge(144MB).Please give support to reduce it.
we recently changed standalone app builds so they only include the sdk version you use at the time of building, this reduced the android app size from i believe about 27mb to 19mb or so, unsure about the impact on the ios side at the moment. we'll keep working on making it possible to opt out of specific apis to further reduce the size
@Brent Vatne: kudos to the team!
@Brent Vatne: Awesome. looking forward to more modularity in the future.
@Brent Vatne: Cool!!! One more thing will the newly generated apk still target multiple architectures or did we strip down that too?
@Brent Vatne: Great Work!
@Brent Vatne: My app now it is 18 MB in size :).
@Brent Vatne: APK size was around 18 MB a few days ago. Which is pretty good. But now it's again around 28. I understand this is because now we have to bundle native code for four different CPU architecture. It would be great if expo supports split APKs. I believe this is not not very complicated to implement. So please consider.
@Sharfin Jahan Sakib: do expo build:android --type app-bundle to get an android app bundle
also, if your apk size increased from 18 to 28 it's because of the assets being included, you can pick what you want to include with assetBundlePatterns
@Brent Vatne: using expo build:android the size of my apk was 27.2mb , but using expo build:android --type app-bundle it became 28.1mb,the size is too large how do i reduce the size of the apk
@Fly Tech: 28.1mb is the size of the file but when you upload it to google play it will be very different. android app bundles are optimized after uploading for specific devices
@Brent Vatne: this seems broken for SDK 34? App bundle went from 13mb to 27mb after upgrading from 33 to 34
@Brent Vatne: after moving from expo 32 to expo 34 ,size of Apk and App bundle has increased from 15mb to 46mb
Great news!!! I'm looking forward to it. We have just finished our first app for customer completely made with expo. (Expo is great project btw). Size reduction would be nice. It's 31MB now in google store with some assets.
@Pavel Krčmář: i have also uploaded an app on play store which size is 33 mb using expo kit.and its .ipa file is 115 mb.so in size expo is not good.
@Brent Vatne That's great news, thank you!