Instead of removing js that have less impact, you should go for binary resources like font and inline images. In addition, these are the following methods that may work for you:
1) Turn on the run:
To enable Proguard, edit the android / app / build.gradle file:
def enableProguardInReleaseBuilds = true
Generate individual assemblies:
2) In your application /build.gradle is installed
def enableSeparateBuildPerCPUArchitecture = true
3) Remove x86 from abiFilters
Below are links to links that you may find helpful:
Apk downsizing blog:
https://realm.io/news/reducing-apk-size-native-libraries/
Link one of the smallest RN apps in the play store:
https://github.com/sonnylazuardi/ziliun-react-native
Useful discussion about the real Native Issue regarding apk size:
https://github.com/facebook/react-native/issues/5037
Chromonav
source share