Home > Software design >  Is there a way to compress app design with react native?
Is there a way to compress app design with react native?

Time:01-10

I've design a todo app with react native and it's more than 200mb so i want to reduce to size.

i've tried react-native-compressor but it's not working.

CodePudding user response:

  • Open up android/app/build.gradle

  • Set def enableProguardInReleaseBuilds = true this would enable Progaurd to compress the Java Bytecode. This reduces the app size by a tad bit

  • Set def enableSeparateBuildPerCPUArchitecture = true . Android
    devices support two major device artitectures armebi and x86. By default RN builds the native librariers for both these artitectures
    into the same apk.

for more info : click here


Hope this was helpful .

  • Related