Skip to content

Commit

Permalink
Check for the correct url scheme (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharykeeping authored Oct 15, 2024
1 parent 786bd54 commit 592386e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/MobileUI/Features/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ protected override void OnResume()
protected override async void OnAppLinkRequestReceived(Uri uri)
{
base.OnAppLinkRequestReceived(uri);

if (uri.Scheme != "sswrewards")
{
return;
}

var queryDictionary = System.Web.HttpUtility.ParseQueryString(uri.Query);
var code = queryDictionary.Get("code");
Expand Down

0 comments on commit 592386e

Please sign in to comment.