I'm having a lot of trouble testing my Ionic application. As it has HttpClient requests, I'm having issues with the Cors. I thought about generating the production build and testing on my cell phone, so I tested:
cordova build android --prod
The app is generated, I copy to my phone and perform the installation, but when I go to run it returns:
err_conecttion_refused: localhost: 8080
I've also tried: cordova build android --prod --release But in this case I can not install the application. How do you test apps that have http requests?