Closed CampioneDev closed 2 months ago
Thanks!
(BTW This is my first PR and contribution to OSS ever... I hope everything's ok, and sorry for the force-pushed mess)
There are 1 changes which include tao with patch
Add another change file through the GitHub UI by following this link.
Read about change files or the docs at github.com/jbolda/covector
I also requested @lucasfernog's review because of his involvement in deep links and as the author of https://github.com/tauri-apps/tao/pull/752
Thanks!
(BTW This is my first PR and contribution to OSS ever... I hope everything's ok, and sorry for the force-pushed mess)
your first OSS contribution is a objc-in-rust PR? omg that's impressive
my first contribution was a dumb issue like "hey you need to fix this typo" people almost deleted my GitHub account 😂 😂
I'll force merge this one but would be great if you could setup commit signing in the future (even for your own personal usage!)
Until now, only "associated domains" were handled, using the
application_continue
function, implementing this Swift method from theUIApplicationDelegate
class.For custom URL schemes, I added a new
application_open_url
function that implements the signature of this other Swift method.The code of the pre-existing
application_continue
function has been moved into a separatehandle_deep_link
function so the newapplication_open_url
function can call it as well.For now, I believe it's appropriate to use the same
Event::Opened
event in both situations. Since the scheme is part of the URL, a listener can differentiate between them if needed.Tauri: this change works automatically with the "Deep Linking" plugin without further modifications.
Custom URL schemes in mobile apps are essential, for example, when dealing with OAuth redirect URLs.