Introduction:
Starting with Android 9 (API level 28) cleartext(non-HTTPS) support is disabled by default? It is always recommended to make connections over HTTPS to ensure that any web communication is secure. This policy may have an impact on your development cycle if your app needs to download an image or file on a server hasn’t been configured for HTTPS.
Description:
We can resolve "Cleartext HTTP traffic not permitted" error In Xamarin.Forms by following few steps for android
Go to Android Project, then click on properties
Starting with Android 9 (API level 28) cleartext(non-HTTPS) support is disabled by default? It is always recommended to make connections over HTTPS to ensure that any web communication is secure. This policy may have an impact on your development cycle if your app needs to download an image or file on a server hasn’t been configured for HTTPS.
Description:
We can resolve "Cleartext HTTP traffic not permitted" error In Xamarin.Forms by following few steps for android
Go to Android Project, then click on properties
Click on AssemblyInfo.cs and paste code below
[assembly: Application(UsesCleartextTraffic =true)]
You can also read for another solution from here.[assembly: Application(UsesCleartextTraffic =true)]
FeedBack Note: Please share your thoughts, what you think about this post, Is this post really helpful for you? I always welcome if you drop comments on this post and it would be impressive.
No comments:
Post a Comment