I'm trying to fetch an image from the URL for my Xamarin Forms project.
<ci:CircleImage Source="{Binding displayPicture}" WidthRequest="50" HeightRequest="50" VerticalOptions="CenterAndExpand" Aspect="AspectFill" BorderColor="#5bb6e7" BorderThickness="2"/>
Previously i was working on Visual studio 2017 V15.9.30. It simply shows the image from URL. Even in iOS, it is working fine. enter image description here(Visual Studio 2017) enter image description here(iOS)
Currently, i have updated to visual studio 2019 v16.8.5. But here image is not getting displayed. Same code is running on both the versions but can't get the image in Visual Studio 2019. enter image description here(Visual studio 2019)
I've tried all possible solutions but it isn't working yet. Can someone help me out with this, please?
Points i have tried :
Image source URL is HTTPS.
HttpClient Implementation is Managed
SSL/TLS Implementation is Native TLS 1.2+
In Manifest file i have added android:usesCleartextTraffic="true"
Tried using ImageSourceConverter. But not able to include the library System.Net.WebCient