test app
test app

Reputation: 1

ionic cordova build android difference between

Please Explain me difference between:

  1. ionic cordova build android -> .apk Slowin loading

  2. ionic cordova build android --prod -> .apk Fast in loading

  3. ionic cordova build android --prod --release -> .apk Slow in loading

Thanks

Upvotes: 0

Views: 549

Answers (1)

Franco Coronel
Franco Coronel

Reputation: 730

Without flags it generates the apk debug version. And with release it generates the apk ready for the store but unsigned when you sign it you can upload it.

The --prod flag:

This will minify your app’s code as Ionic’s source and also remove any debugging capabilities from the APK.

Upvotes: 1

Related Questions