Which is correct for app store release in ionic 3

Which is the proper command to build release apk to app store. Earlier first one is used and no issue found. But after using second one many issues fired. those were solved and at last currently there is an issue with stuck in whitescreen after splashscreen.

ionic cordova build --release android

or

ionic cordova build android --prod --release

???

In ionic 3 documentation, the second command is correct.

Please check this documentaion for more information:


Thank you :slight_smile: