Questions tagged [ios-universal-links]

With universal links, iOS users can tap a link to your website and get seamlessly redirected to your installed app without going through Safari. If your app isn’t installed, tapping a link to your website opens your website in Safari.

From the Supporting universal links archive documentation:

Universal links give you several key benefits that you don’t get when you use custom URL schemes. Specifically, universal links are:

  • Unique. Unlike custom URL schemes, universal links can’t be claimed by other apps, because they use standard HTTP or HTTPS links to your website.
  • Secure. When users install your app, iOS checks a file that you’ve uploaded to your web server to make sure that your website allows your app to open URLs on its behalf. Only you can create and upload this file, so the association of your website with your app is secure.
  • Flexible. Universal links work even when your app is not installed. When your app isn’t installed, tapping a link to your website opens the content in Safari, as users expect.
  • Simple. One URL works for both your website and your app.
  • Private. Other apps can communicate with your app without needing to know whether your app is installed.

Resources

774 questions
14
votes
1 answer

Specific associated domains for multiple targets in the Xcode project

I have several targets in Xcode. Everytime I change the domains in the target`s setting: Targets - Target name - Capabilities - Associated Domains then this change is propagated also to the setting of the other targets. To me it seems like a bug in…
14
votes
4 answers

Universal links with redirects not working in iOS

Company domain links end up in the iOS app. Links with redirects through MailChimp to company's website from email website end up in the iOS app. But links which redirect to company domain website through MailChimp tracking link tapped in mail app…
14
votes
2 answers

Universal link test: Could not extract required information for application links

Trying to configure Universal Links for iOS 9. I am using Apple's validation tool: https://search.developer.apple.com/appsearch-validation-tool/ Everything is passing except I get Action Required for Link to Application. The message is: "Could not…
Ben Flynn
  • 18,524
  • 20
  • 97
  • 142
14
votes
3 answers

wkwebview still not handling universal link

I have an iOS universal link targeted at myApp. When I click that link in another app, myApp opens and displays the right payoff perfectly, it's working. But myApp includes a built-in browser using WKWebView. When I click the same universal link…
emrys57
  • 6,679
  • 3
  • 39
  • 49
13
votes
2 answers

Error with Universal Links on phone w/ iOS 13

I am seeing the below error in iOS 13 when trying to setup an app with universal links. Has anyone seen this or know what it means? I am seeing this error in the device console for the swcd process. Error getting enterprise-managed associated…
AndySousa
  • 1,062
  • 2
  • 15
  • 30
13
votes
1 answer

iOS 11: Where did the right-side domain button go for Universal Links?

Previously, in iOS 10, if you tapped a link that an installed app could handle (Universal Link), the app would open instead of Safari, but you'd see a button on the upper/right side of the app that would send you into Safari for the given URL. If…
Mason G. Zhwiti
  • 6,444
  • 11
  • 61
  • 97
13
votes
2 answers

How can I use universal links when I call openURL inside my own app?

My app uses in different screens: [[UIApplication sharedApplication] openURL:url]; in order to open URLs received from my web service. Sometimes, those URLs are unrelated to my project, so opening them going to Safari is OK. Others, those URLs…
Ricardo
  • 2,831
  • 4
  • 29
  • 42
13
votes
2 answers

How can I programmatically determine if a URL is a Universal Link or just a regular web URL?

On iOS, how can I programmatically determine if a URL is a Universal Link or just a regular web URL? Let's say you are about to launch the URL http://www.yelp.com from your own iOS app. (http://www.yelp.com is a fully registered universal link.) …
Andrew Paul Simmons
  • 4,334
  • 3
  • 31
  • 39
13
votes
5 answers

iOS universal links not working?

I'm having trouble getting universal links to work We have added the json content to our site https://couchsurfing.com/apple-app-site-association I have double checked that it's using the correct team ID and bundle ID Universal links is enabled in…
aryaxt
  • 76,198
  • 92
  • 293
  • 442
12
votes
1 answer

Prevent redirect from triggering App / Universal Link behavior

We have a web product and Android/iOS mobile apps with App (Android) & Universal (iOS) links enabled. This enables the OS to open our app in various scenarios where the user would otherwise have been navigated to our mobile web product. We are now…
siger
  • 3,112
  • 1
  • 27
  • 42
12
votes
2 answers

Custom URL scheme without confirmation prompt (Swift)

I've found two options to open my app from a Safari web page: a custom URL scheme created in my app project's Info.plist or Apple's Universal Linking. Obviously the custom URL scheme is the easiest one to set up, but the problem I'm having with this…
Mark Carols
  • 403
  • 4
  • 20
12
votes
2 answers

Universal Links not working on iOS10

Just updated my iPhone to iOS10 and the Universal links stopped working. If I run my app in an iPhone with iOS9, or lower, the Universal Links work fine, but the are just not working at all in iOS10. Any clues?
6rod9
  • 1,407
  • 12
  • 29
11
votes
0 answers

iOS : Universal links are not working when set default browser is Chrome/brave(other then safari)

In our iOS universal links for our app is not opening our application when we tap on the link. This is happening only when the default browser in iPhone is set to Chrome or brave (other than safari). It works perfectly when default browser is…
11
votes
2 answers

iOS 14 Universal Links broken on default browser other than Safari

On iOS 14 you can pick another default browser than Safari. If you use another browser, that browser will ask the user to change their default browser.  I have installed quite a few browsers (Chrome, Firefox, Edge, Opera, Brave...) and have set each…
11
votes
1 answer

Is it possible to force my app to fetch a new apple-app-site-association file?

I have been reading around and found a couple of existing answers about apple-app-site-association caching: on the Apple forums. on Stackoverflow. These answers all indicate that the association file is fetched from the web on install/update…
Sir Celsius
  • 822
  • 8
  • 22
1 2
3
51 52