iOS Deep Links With Chrome As Default Browser #4368
Replies: 6 comments 10 replies
-
Hi Luke I can acknowledge that my team / project is in exactly the same boat as you, unfortunately. Fortunately for us, it's an internal app in a big company, where everyone is using iPhones and most likely 99/100 users will have Safari installed as default. But we do have one or two cases of people who couldn't use the app because they have Chrome as their default iOS system browser. I've just been tasked to look into a possible fix for this, but I fear I'll run into the same conclusion as you, i.e. no workable solution. So, this is a shoutout to the Ionic team; what can we do if we depend on universal links and user has Chrome set as default iOS system browser? Is there a proper way to detect that a default system browser other than Safari is enabled, at least then we can prompt the user? |
Beta Was this translation helpful? Give feedback.
-
I've come across this issue, and I've been able to isolate it in Chrome like this:
If you open such page in Chrome, and click on the link, nothing will happen. (It won't open the ios app)
If you click on this link now, it will open the app as it should My solution was to use Firebase Dynamic links that you can easily construct: Now you will be pointed to another domain, so clicking on a link like that will open the app. (The dynamic link domains must also be associated with your app.) |
Beta Was this translation helpful? Give feedback.
-
Hey there! Did either of y'all find a fix to support iOS Chrome for deep links without using a separate domain? I found a solution to add an |
Beta Was this translation helpful? Give feedback.
-
I'm working with Xamarin.Forms, but noticing the same issue as what's described here (having a little trouble finding much else). Same situation, a user with Chrome set as default browser is not handling universal links. Has anyone in the ionic/capacitor community also experienced this, and found any solutions - that may provide a hint for where to look on my end? |
Beta Was this translation helpful? Give feedback.
-
I can confirm universal links do only work in Safari, not in Chrome The documentation also only mentions Safari:
see https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content |
Beta Was this translation helpful? Give feedback.
-
2024 is still the same issue... |
Beta Was this translation helpful? Give feedback.
-
We are running into an issue with our capacitor app and deep linking on iOS. I realize this is very likely an iOS issue and not a capacitor issue but we've been unable to locate a solution and I'm hoping others may have run into it and can share how they solved it.
When we created our app, we added deep linking as documented here https://capacitorjs.com/docs/v3/guides/deep-links. Everything seemed to work great and as expected. Until we ran into a user who was using a browser other than Safari as their default in iOS (in our case it was Chrome, which I assume is pretty common and thus this is a fairly large issue for us). If the user has a browser other than Safari as their default, deep linking does not work. If they use Safari, everything works as expected.
We've been looking for solutions to this and have tried a few suggestions such as the second answer here https://stackoverflow.com/questions/64572364/ios-14-universal-links-broken-on-default-browser-other-than-safari but nothing has worked.
Has anyone else run into this and if so has anyone else solved this issue?
Beta Was this translation helpful? Give feedback.
All reactions