Solved - Cleartext HTTP Traffic To YOUR-API.DOMAIN.COM Not Permitted (targetSdkVersion="28")

After changes of API version 9.0 getting the error Cleartext HTTP traffic to YOUR-API.DOMAIN.COM not permitted (targetSdkVersion="28"). in xamarin, and android studio.
Two steps to solve this error in xamarin, and android studio.
Step 1
Create file resources/xml/network_security_config.xml.
In network_security_config.xml, 
  1. <?xml version="1.0" encoding="utf-8" ?>  
  2. <network-security-config>  
  3.   <domain-config cleartextTrafficPermitted="true">  
  4.     <domain includeSubdomains="true"></domain>  
  5.   </domain-config>  
  6. </network-security-config>  
Step 2 - update AndroidManifest.xml
Add android:networkSecurityConfig="@xml/network_security_config" on application tag.
  1. <application android:label="your App Name" android:icon="@drawable/icon" android:networkSecurityConfig="@xml/network_security_config" 
Happy Coding :-))