Android and SSL Certificate

Yusuf 681 Reputation points
2022-02-01T16:30:31.687+00:00

Hi,
I'm using Xamarin Forms and I want to access XML file from Android app to check for existing updates, I was using Plesk hosting but now Let's Encrypt SSL does not support Android operating systems before 7.1.1.
App crashes here:

            XmlDocument doc = new XmlDocument();
            doc.Load("https://mysite.com/xml/update.xml");
            XmlNode node = doc.DocumentElement.SelectSingleNode("/App/myapp");
            int lastVertion = int.Parse(node.InnerText.ToString());

How do I solve this issue?

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,221 questions
{count} votes