-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support activation with universal links #18005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
You can test this PR using the following package version. |
|
Tested the build in my application, and it works OK. I still see the potential problem of cold starts, where subscribing to On second thought, it looks like |
@cla-avalonia agree |
Does it work, if user subscribes in |
Going down the stack from Avalonia/src/Avalonia.Controls/AppBuilder.cs Line 343 in 3718c10
didFinishLaunchingWithOptions , so I think we're fine.
|
Does this work with macos too ? I am not getting urls on desktop too |
This PR only affects iOS backend. For macOS, you typically can use protocol links (i.e. CFBundleURLTypes ones). |
Not working on macos too. Cant get url with protocol links and last version of avalonia |
What does the pull request do?
Implements #17600
What is the current behavior?
IAvaloniaAppDelegate.Activated
is raised withActivatedEventArgs
.What is the updated/expected behavior with this PR?
IAvaloniaAppDelegate.Activated
is raised withProtocolActivatedEventArgs
containing the URL that activated the application.Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues