Xamarin Forms - Android SSL TLS issue

Séb Carré (Glanum) 21 Reputation points
2022-01-05T09:34:43.507+00:00

Hello I have an issue right with Android.

So basically it is about SSL TLS issue. Yesterday I couldn't do any request with HttpClient because of the native handler HttpClient says that the TLS support is not available.
I did changes the options of Android Build on my Mac with putting the AndroidHandler HttpClient implementation, it didn't do anything.
So I just call the Android Handler in my code at the init of my HttpClient and I can do requests right now.

The issue I have now is with Image.

All my images from URLS are not working because of HTTPClient implementation which is not working.

How I can fix these issues with the SSL TLS ? or at least can I just change the handler HttpClient inside the Xamarin.Forms.Image ??

For a moment I had this error before build my app ==> System.InvalidOperationException: Unknown TlsProvider ‘Native TLS 1.2+’

Thank you !

Developer technologies .NET Xamarin
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.