React Native - Tips para reducir el tamaño del apk

https://medium.com/@aswinmohanme/how-i-reduced-the-size-of-my-react-native-app-by-86-27be72bba640

Reducing size of React Native App (Android)

This is what you have been waiting for, I know.

Setting the last function creates two distinct apk in the build folder. You have to upload both of this apk to Play Store and Google would take care of distributing the app to the correct architectures.

Using this split generates version numbers for both apks in the order of 104856 and such. This is auto-generated by the build to avoid version conflicts, so don’t freak out (I did).

This split reduced the apk size from around 7MB to 3.5MB for arm and 5MB for x86 respectively.


Revision #2
Created 9 May 2020 17:37:20 by Juan Navas
Updated 27 February 2023 19:33:43 by Juan Navas