mirror of
https://github.com/farcasclaudiu/TestModernHttpClient.git
synced 2026-06-22 07:01:21 +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>
|
||||
<key>XSAppIconAssets</key>
|
||||
<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>
|
||||
</plist>
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user