HTTP Timeout on --release


#1

Hello there,

I have an app that works perfectly fine on chrome, emulator and on my tablet. But if I build it with --release tag, any http request get a timeout error.

works fine: ionic cordova build android --prod

http timeout: ionic cordova build android --prod --release

I’m not sure if this is an android specific configuration on my tablet or some other configuration I’m missing on my app.

Thank you!


#2

Found the solution to my problem:

http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/

Thank you