tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
406 stars 280 forks source link

App Size Drastically Increased #423

Closed hbole closed 2 years ago

hbole commented 3 years ago

Hi All,

I have used this package to integrate intercom in my react-native app. Earlier my app size was around 35 - 36 MB, now after the intercom configuration the app build is now around 80+ MBs. Is there a way to reduce the app size. I suspect this size increase primarily due to the sdk.

Please help

nicoburns commented 3 years ago

Is this Android or iOS. If your issue is on Android then you may want to look into using Android App Bundles.

grifotv commented 3 years ago

I had the same in Android. I’ll look into android app bundle as suggested.

grifotv commented 3 years ago

Following @nicoburns advice, after generating .aab insteak of .apk the Android app size has drastically decreased from over 40MB to 17MB.

Based on that I think this issue should be closed.