You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area/winuiCategorizes an issue or PR as relevant to WinUIdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestno-reproproject/navigation-lifecycle 🧬Categorizes an issue or PR as relevant to the navigation and lifecycle (NavigationView, AppBar, ...)project/non-ui ⚙️Categorizes an issue or PR as relevant to winrt (non-ui)
when i try to get the arguments from OnLaunched it always turn out empty string
and i try to open the app like this from the browser with url cycoau:youtube and it does open but with empty arguments shouldn't it be youtube or i'm missundertanding something
On Windows, I'm running into an issue where it seems like the OnLaunch() function always starts up a new instance of the application, with all variables reverting to their default values. In the fo...
this anwser isn't applicable to the latest version any more but it got me to this
var activatedEventArgs = AppInstance.GetActivatedEventArgs();
if (activatedEventArgs.Kind == Windows.ApplicationModel.Activation.ActivationKind.Protocol)
{
if (activatedEventArgs is Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs protocolActivatedEventArgs)
{
argsString = protocolActivatedEventArgs.Uri.ToString();
}
}
which gets me what i want on windows( for the WINUI3 app) when i enter the url in the browser didn't test anything else yet
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
This issue was classified as not reproducible with a code sample or test.
Reason: This is a feature request/enhancement about protocol activation support in Windows App SDK. It does not describe a bug that can be reproduced with a runtime test or manual sample.
area/winuiCategorizes an issue or PR as relevant to WinUIdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestno-reproproject/navigation-lifecycle 🧬Categorizes an issue or PR as relevant to the navigation and lifecycle (NavigationView, AppBar, ...)project/non-ui ⚙️Categorizes an issue or PR as relevant to winrt (non-ui)
Activity
MartinZikmund commentedon Jan 8, 2023
The Windows App SDK approach to Protocol Activation is different from UWP, we will need to check how we can support this on our side as well.
ahmed-abdelrazek commentedon May 31, 2023
any news on this? @MartinZikmund @jeromelaban
BertrandDeSaintBezier commentedon Jul 20, 2023
In the meantime, here's a functional workaround for this on WinAppSDK : #12933 (reply in thread)
ahmed-abdelrazek commentedon Jan 12, 2024
this anwser isn't applicable to the latest version any more but it got me to this

which gets me what i want on windows( for the WINUI3 app) when i enter the url in the browser didn't test anything else yet

github-actions commentedon Aug 7, 2025
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
ahmed-abdelrazek commentedon Aug 7, 2025
bad bot
MartinZikmund commentedon Aug 7, 2025
This is in progress, PR linked
MartinZikmund commentedon Apr 8, 2026
Repro generator
This issue was classified as not reproducible with a code sample or test.
Reason: This is a feature request/enhancement about protocol activation support in Windows App SDK. It does not describe a bug that can be reproduced with a runtime test or manual sample.