Ionic android app


#1

Hi,
I am having 1 question on Ionic Hybrid app -
I am trying the generate a .apk file using the command -

ionic cordova build android --prod --release

and in the build.gradle file (located at platform/android) I added the below config details.

        buildTypes {
            release {
                shrinkResources true
                minifyEnabled true
                signingConfig signingConfigs.release
                proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),'proguard-rules.pro'
            }
        }

But the build process is not taking the config changes and I am not seeing any difference in the final apk size. In the ionic build process when the build.gradle file will be referred.

Please suggest!

Thanks

regards,
Mano