Ive built a small mobile Android 6 app with ionic and Phonegap. This isnt my first Hybrid app, but is my first with Ionic. The app calls a php file that queries a MySQL DB and r
I had very similar issue; even after installing whitelist plugin and having necessary permissions, my app never connected to my web service.
Then I thought to give a try including whitelist plugin in config.xml. So, in my project folder I ran the following command which had updated my config.xml
cordova plugin add cordova-plugin-whitelist --save
After that the APK generated by my automated build system, was connecting to my web service.