When the app is already open, the onApplicationURL event fires correctly, and I can capture the URL. However, if the app is not open and a deep link is clicked, the event does not run once the app is opened.
Steps to Reproduce:
Ensure an application protocol is set in meta.application_protocol in socket.ini (e.g. myapp)
Ensure the app is completely closed (no windows open).
Click a deep link that should open the app (e.g., myapp://some-path).
Observe that the app opens, but the onApplicationURL event does not fire.
What OS are you using (
uname -a
, or Windows version)?Darwin Daniels-MacBook-Air.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64
What version Socket Runtime are you using?
0.5.4 (dfd41903) Installation path: /Users/daniel/homelab/GitHub/languages/javascript/socket/build/npm/darwin/packages/@socketsupply/socket-darwin-arm64/ ( next branch)
What programming language are you using (C/C++/Go/Rust)?
none
What did you expect to see and what you saw instead?
For internal and external linking, I am using the following code snippet to capture the URL when the app is already open:
When the app is already open, the onApplicationURL event fires correctly, and I can capture the URL. However, if the app is not open and a deep link is clicked, the event does not run once the app is opened.
Steps to Reproduce: