Issues related to parameters passed through URI protocol activation #19161
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
Given the outdated documentation for UWP, I couldn't get URI activation to work with WinUI as the ActivationKind was never Protocol and the arguments empty:
Instead I settled for searching the parameter in the envrionment arguments:
While URI launch itself works on Windows and iOS (haven't tested Android), the parameter is never present on iOS.
Is there a workaround I can use to have any given parameter to be actually present?
Example URI:
appuri://?param=test
PS: I also noticed that URI activation leads to an app freeze immediately after the splashscreen if the app isn't currently running, which requires navigation from and back to the app once to make it work. This might be on my end though; I am still investigating.
Expected behavior
URI activation causes parameters to be present.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
none
Works on UWP/WinUI
None
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
5.6.0-dev.1235
Affected platforms
iOS
IDE
Visual Studio 2022
IDE version
17.12.3
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: