ionic cordova run android net:err_cleartext_not_permitted code example
Example: net::ERR_CLEARTEXT_NOT_PERMITTED ionic
Add these lines of code on the config.xml file inside tag.
Then go to resources -> android -> xml -> network-security-config.xml and modify your file like below.
localhost
YOUR_API_DOMAIN