My app URL is getting blocked by whitelist, I have already added a whitelist plugin and Necessary changes in config.xml but still, it couldn't be resolved.
Any Help would much be appreciated.
This is my ionic info
1 Answers
I have experienced this problem of whitelist severally, mostly when building Android app, even after adding the plug-in and necessary update in config.xml, but i was able to solve it in different occasions with the following;
Adding the base URL(e.g https://testapi.com or http://192.168.1.100) of your API or Back-end project to the network_security_config.xml file of your android project, the file is located in Platforms/android/app/src/main/res/xml directory of your project, below is an example
If your url is http and not https or your base URL is not on regular post 80 e.g http://67.1.4.2:40, you might want to test your application with another ISP(Internet Service Provider) and if it happens to work with other ISP, then you should consider changing your URL to https and pointing a domain name to your IP.