Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use Android App Bundle to decrease react-native apk size

Is there a way to use Android App Bundle for decreasing android app size,and Deliver features on-demand in react-native project?

like image 669
amin saffar Avatar asked May 18 '18 22:05

amin saffar


1 Answers

A recent pull request added support for Android App Bundles

https://github.com/facebook/react-native/pull/23239

It is not well documented, but it works if you make the required alterations.

References:

  • https://github.com/react-native-community/releases/issues/91
  • https://developer.android.com/guide/app-bundle/
  • https://medium.com/@AndreSand/android-app-bundle-96ac16b36875
like image 178
Eric Dunaway Avatar answered Oct 12 '22 23:10

Eric Dunaway