Skip to content
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

Support for deep links (universal)? #68

Open
ajaishankar opened this issue Jan 3, 2025 · 1 comment
Open

Support for deep links (universal)? #68

ajaishankar opened this issue Jan 3, 2025 · 1 comment

Comments

@ajaishankar
Copy link

Hi

Does Hotwire Native support deep linking by default?

Or is there a documented pattern for implementing deep links with Hotwire?

Since any link is rendered in a web view, having support for deep linking in the framework would be nice 😄

Thanks

Ajai

@ibrahima
Copy link

ibrahima commented Jan 7, 2025

I don't think there's any specific support built in but you can follow https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app, and in the SceneDelegate add the appropriate code based on https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app#Handle-incoming-URLs. You would need to get your Navigator instance somehow and call navigator.route(url).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants