The customHandleBackButton method does not work in production


#1

The customHandleBackButton method works perfectly when I run the application and debug mode, but when running on production it does not work.
I am compiling with the command: ionic cordova build android --prod --release.