Opening the apk archive, I noticed that not a single js file was modified, and the .map files were large. In my case (I am using TypeScript), the map files are for debugging only, to map the js source code to the ts source code.
I installed cordova-minify
npm install cordova-minify
I pulled the hook a little to enter the correct folder, disabled the css minifier, which messed up everything and deleted any map file.
My path to the hook:
hooks/after_prepare/minify.js
I also used only one splash file (the one for xxxhdpi) was not cropped (neither for the portrait nor for the landscape), following the ionic recommendation
The minimum sizes of the source images should be 2208x2208 px, and his work should be focused on the area, knowing that each generated image will be cropped to the landscape and portrait of the images. Work with spray screens should approximately correspond to the center square (1200x1200 px). ( http://ionicframework.com/docs/v1/cli/icon-splashscreen.html )
only one line in config.xml:
<splash src="resources/splash.png" density="xxxhdpi"/>
At the same time, I reduce the size of apk from 4.8M to 2.5M without losing any functions (splash screen).
PiroStudio
source share