Open rustamsmax opened 3 years ago
For example the telegram app handles url schema starting with t.me
As we discussed in JetBrains Compose chat, turns out, the telegram app handling tg:// schema not url.
At least having this feature implemented in native distribution would be good job.
Could you please elaborate why do you expect this kind of feature from UI toolkit Compose is? Looks like rather generic functionality that could be implemented in separate library. We not trying to implement all possible functionality inside Compose, to retain maintainability.
What do you mean by separate library? Do we have to fork the desktop compose distribution plugin?
Cannot the app register click handlers on the first run? Why it shall be done in Gradle plugin at all?
Cannot the app register click handlers on the first run
If we don't run the application at all after the installation, then there no be registered pair "protocol -> application" in the OS. It should be part of the installer.
Maybe the installer can allow the developer to run custom code as part of finalizing the install?
It would be ideal if something like this can be implemented by the user without needing custom support from our team for every little feature/thing that an installer might want to do.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I've implemented deep linking in android app. I also trying to achieve it in desktop version of this app. But the handling must be processed outside the app. I think it's related to native distribution.
I've googled and found related answer from stackoverflow: https://stackoverflow.com/questions/20074610/handle-custom-url-schemes-in-an-os-x-java-application