--release causes a very large App Size

When i build my App with:

ionic cordova build ios --debug --buildConfig is has a File Size of nearly 50mb.

But with

ionic cordova build ios --prod --release --buildConfig the Size of the distribution Archive is over 100mb.

Any Ideas?

I tried:

  • Remove Platform
  • Remove Node_modules
  • Remove Plugins
  • Remove www Folder
  • Reinstall and Rebuild everything

None of those things would change this.

What could be happening is that there are multiple bundles of the native app being produced. IE instead of creating one for one device type, and another for a different device type, Android’s tools will create a single package type and then play store will download the right format it needs.

Nothing really to worry about here.

1 Like