diff --git a/1-Basic/UserDetailsClient/UserDetailsClient.Droid/UserDetailsClient.Droid.csproj b/1-Basic/UserDetailsClient/UserDetailsClient.Droid/UserDetailsClient.Droid.csproj
index e377d91..1f2a728 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient.Droid/UserDetailsClient.Droid.csproj
+++ b/1-Basic/UserDetailsClient/UserDetailsClient.Droid/UserDetailsClient.Droid.csproj
@@ -91,7 +91,7 @@
-
+
diff --git a/1-Basic/UserDetailsClient/UserDetailsClient.UWP/UserDetailsClient.UWP.csproj b/1-Basic/UserDetailsClient/UserDetailsClient.UWP/UserDetailsClient.UWP.csproj
index 1e7a345..c9e06c1 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient.UWP/UserDetailsClient.UWP.csproj
+++ b/1-Basic/UserDetailsClient/UserDetailsClient.UWP/UserDetailsClient.UWP.csproj
@@ -131,7 +131,7 @@
-
+
14.0
diff --git a/1-Basic/UserDetailsClient/UserDetailsClient.iOS/UserDetailsClient.iOS.csproj b/1-Basic/UserDetailsClient/UserDetailsClient.iOS/UserDetailsClient.iOS.csproj
index 898e8a0..8c14a62 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient.iOS/UserDetailsClient.iOS.csproj
+++ b/1-Basic/UserDetailsClient/UserDetailsClient.iOS/UserDetailsClient.iOS.csproj
@@ -128,7 +128,7 @@
-
+
4.8.0.1560
diff --git a/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml b/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml
index 4077f0b..f6c1200 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml
+++ b/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml
@@ -46,6 +46,8 @@
HorizontalOptions="FillAndExpand" />
diff --git a/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml.cs b/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml.cs
index ce9ccc5..6926187 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml.cs
+++ b/1-Basic/UserDetailsClient/UserDetailsClient/MainPage.xaml.cs
@@ -35,9 +35,14 @@ async void OnSignInSignOut(object sender, EventArgs e)
{
try
{
+ // Hide the privacy prompt
+ SystemWebViewOptions systemWebViewOptions = new SystemWebViewOptions()
+ { iOSHidePrivacyPrompt = true, };
+
authResult = await App.PCA.AcquireTokenInteractive(App.Scopes)
- .WithParentActivityOrWindow(App.ParentWindow)
- .ExecuteAsync();
+ .WithParentActivityOrWindow(App.ParentWindow)
+ .WithSystemWebViewOptions(systemWebViewOptions)
+ .ExecuteAsync();
}
catch(Exception ex2)
{
diff --git a/1-Basic/UserDetailsClient/UserDetailsClient/UserDetailsClient.csproj b/1-Basic/UserDetailsClient/UserDetailsClient/UserDetailsClient.csproj
index 825e736..fedf7e3 100644
--- a/1-Basic/UserDetailsClient/UserDetailsClient/UserDetailsClient.csproj
+++ b/1-Basic/UserDetailsClient/UserDetailsClient/UserDetailsClient.csproj
@@ -9,8 +9,8 @@
-
-
+
+