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

[Discussion] Chrome for iOS does not support Universal Links #15

Open
MrSnoozles opened this issue Oct 17, 2024 · 3 comments
Open

[Discussion] Chrome for iOS does not support Universal Links #15

MrSnoozles opened this issue Oct 17, 2024 · 3 comments

Comments

@MrSnoozles
Copy link

Hi,

I've implemented universal links and got it working on Android and iOS using Safari.
On Chrome for iOS it does not work. If I got it right that's because Chrome does not support Universal Links. As a workaround it is recommended to display a intermediary website and redirect to the app using URL schemes.

That would mean that https://github.com/nativescript-community/appurl is not totally deprecated, as it's still required to make linking into an app work on most devices.

Do I get this right?

@farfromrefug
Copy link
Member

@MrSnoozles not sure what we are talking about really. Could you share a sample projhect?

@MrSnoozles
Copy link
Author

MrSnoozles commented Oct 18, 2024

On iOS Universal Links work in Safari, but not in Chrome. That's no fault of the plugin, hence the [Discussion] tag.

See for example:
https://forums.developer.apple.com/forums/thread/738243
or https://stackoverflow.com/questions/76098213/universal-link-works-in-safari-browser-but-not-in-chrome

One workaround that's suggested would be:
Example: the Universal Link goes to https://mydomain.com/share/8xgdf
On that website we could check the user agent and if it's iOS and a browser other than Safari, we could do a redirect to myapp://8xgdf. Apparently an AppLink still works for opening the app.

@farfromrefug
Copy link
Member

On iOS Universal Links work in Safari, but not in Chrome. That's no fault of the plugin, hence the [Discussion] tag.

See for example: https://forums.developer.apple.com/forums/thread/738243 or https://stackoverflow.com/questions/76098213/universal-link-works-in-safari-browser-but-not-in-chrome

One workaround that's suggested would be: Example: the Universal Link goes to https://mydomain.com/share/8xgdf On that website we could check the user agent and if it's iOS and a browser other than Safari, we could do a redirect to myapp://8xgdf. Apparently an AppLink still works for opening the app.

Ok nothing can be done here? We could add a note to the readme. And i did not understand the point about the old plugin appurl?

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

No branches or pull requests

2 participants