react-native-unimodules
react-native-unimodules copied to clipboard
Excluding some modules is not decreasing app size
Hello,
this package is increasing 5Mb of my app size, this is because we are installing many modules with this ???
i dont need all the unimodules in this packages, so i tried to exclude some, but the size is not decreasing even after excluding. any help here will be appreciated.
Thanks in advance.
Most probably the size is decreasing, but only by small amounts — adding or removing one or two simple unimodules doesn't really make any big difference, how big could a couple of compiled Java files without dependencies be?
I would say that there must be some specific package that adds those 5 MBs and it does not come from a unimodule itself, but from its dependencies, eg. expo-facebook depending on the bigger Facebook SDK dependency.
What unimodules do you have installed? Have you tried profiling and inspecting the APK?