Skip to content

Commit

Permalink
Update dependency to MAUI SDK (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Oct 26, 2023
1 parent 26d8ef6 commit 5bc4b73
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
10 changes: 3 additions & 7 deletions Sample/Auth0MauiApp/Auth0MauiApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
</PropertyGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
Expand All @@ -59,11 +62,4 @@
<PackageReference Include="Auth0.OidcClient.MAUI" Version="1.0.0-beta.0" />
</ItemGroup>


<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-windows10.0.19041.0'">
<PackageReference Include="WinUIEx" Version="2.2.0">
</PackageReference>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230502000" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion Sample/Auth0MauiApp/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Auth0.OidcClient;
using Auth0.OidcClient.MAUI;
using IdentityModel.OidcClient;
using IdentityModel.OidcClient.Browser;

Expand Down
2 changes: 1 addition & 1 deletion Sample/Auth0MauiApp/Platforms/Windows/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public partial class App : MauiWinUIApplication
/// </summary>
public App()
{
if (WinUIEx.WebAuthenticator.CheckOAuthRedirectionActivation())
if (Auth0.OidcClient.Platforms.Windows.Activator.Default.CheckRedirectionActivation())
return;

this.InitializeComponent();
Expand Down
Binary file modified Sample/LocalPackages/Auth0.OidcClient.MAUI.1.0.0-beta.0.nupkg
Binary file not shown.

0 comments on commit 5bc4b73

Please sign in to comment.