From 0c870f1a662c9004ac76b00828084deb2e86834c Mon Sep 17 00:00:00 2001 From: Claudiu Farcas Date: Tue, 31 Jul 2018 15:12:30 +0300 Subject: [PATCH] * Info.plist: https and iOS the same issue * MainPage.xaml.cs: --- TestModernHttpClient.iOS/Info.plist | 15 +++++++++++++++ TestModernHttpClient/MainPage.xaml.cs | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/TestModernHttpClient.iOS/Info.plist b/TestModernHttpClient.iOS/Info.plist index bd14a8a..02c8aeb 100644 --- a/TestModernHttpClient.iOS/Info.plist +++ b/TestModernHttpClient.iOS/Info.plist @@ -34,5 +34,20 @@ TestModernHttpClient XSAppIconAssets Assets.xcassets/AppIcon.appiconset + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExceptionDomains + + mockhttpcalls.azurewebsites.net + + NSIncludesSubdomains + + NSThirdPartyExceptionRequiresForwardSecrecy + + + + diff --git a/TestModernHttpClient/MainPage.xaml.cs b/TestModernHttpClient/MainPage.xaml.cs index a7cfae3..94b6fdf 100644 --- a/TestModernHttpClient/MainPage.xaml.cs +++ b/TestModernHttpClient/MainPage.xaml.cs @@ -15,7 +15,7 @@ namespace TestModernHttpClient { public partial class MainPage : ContentPage { - public const string TEST_URL = "http://mockhttpcalls.azurewebsites.net/api/values"; + public const string TEST_URL = "https://mockhttpcalls.azurewebsites.net/api/values"; public MainPage() {