A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
Hi, yusuf2. The
android:networkSecurityConfig flag the application element in the AndroidManifest.xml is only working on api >= 24. To test the function on Android 6, try to manually load the certificates from the resource.