Size of Release Build for github.com/MetaMask/metamask-mobile Exceeds 500 MB

Greetings!

I’ve successfully forked the MetaMask Mobile repository at MetaMask-mobile and completed all the necessary setup as outlined in the documentation at MetaMask-mobile#readme.

To customize my build, I’ve configured my own Sentry credentials in the sentry.properties file and placed a release.keystore file in the android/keystores directory. Following these steps, I executed the commands:

bashCopy code

yarn setup
yarn build:android:release

Despite trying various commands and even setting enableSeparateBuildPerCPUArchitecture to true, I consistently encounter a build size exceeding 500MB.

I would greatly appreciate any insights or suggestions you might have to help optimize the build size. Thank you for your assistance!

2 Likes

Hi would you mind opening an issue here: Issues · MetaMask/metamask-mobile · GitHub

1 Like

Hi,
I’ve opened an issue as suggested. You can find it at MetaMask/MetaMask-mobile/issues/7877 . Appreciate your assistance!

2 Likes