Google Xamarin.Forms Resolved: Cleartext HTTP traffic not permitted in Android | SubramanyamRaju Xamarin & Windows App Dev Tutorials

Wednesday 19 February 2020

Xamarin.Forms Resolved: Cleartext HTTP traffic not permitted in Android

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
Click on AssemblyInfo.cs and paste code below
[assembly: Application(UsesCleartextTraffic =true)]
 You can also read for another solution from here.

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.

Follow me always at @Subramanyam_B

No comments:

Post a Comment

Search Engine Submission - AddMe