ionic capacitor net::ERR_CLEARTEXT_NOT_PERMITTED code example
Example 1: 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
Example 2: capcitor FERR_CLEARTEXT_NOT_PERMITTED
Just add this to your AndroidManifest.xml in the tag like