mirror of
https://github.com/farcasclaudiu/TestModernHttpClient.git
synced 2026-06-28 23:01:27 +03:00
* Info.plist: https and iOS the same issue
* MainPage.xaml.cs:
This commit is contained in:
@@ -34,5 +34,20 @@
|
|||||||
<string>TestModernHttpClient</string>
|
<string>TestModernHttpClient</string>
|
||||||
<key>XSAppIconAssets</key>
|
<key>XSAppIconAssets</key>
|
||||||
<string>Assets.xcassets/AppIcon.appiconset</string>
|
<string>Assets.xcassets/AppIcon.appiconset</string>
|
||||||
|
<key>NSAppTransportSecurity</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSAllowsArbitraryLoads</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSExceptionDomains</key>
|
||||||
|
<dict>
|
||||||
|
<key>mockhttpcalls.azurewebsites.net</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSIncludesSubdomains</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace TestModernHttpClient
|
|||||||
{
|
{
|
||||||
public partial class MainPage : ContentPage
|
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()
|
public MainPage()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user