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
9
votes
1 answer

What happens when you return `false` from `application(_:, continue:​, restoration​Handler:​)`?

I have enabled Universal Links in my app. The corresponding delegate call to handle those links is func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { if…
Mischa
  • 15,816
  • 8
  • 59
  • 117
9
votes
2 answers

Open an app (iOS/Android) via JavaScript, with a fallback redirect to App/Play store (2016 edition)

Given: Website, iOS and Android applications, registered urlscheme "myapp://". Goal: on the website have a link shown to iOS/Android devices with app installed. Clicking on that link should open the app and invoke specific logic (handled by the app,…
Max
  • 1,149
  • 3
  • 10
  • 20
9
votes
2 answers

Universal Link opens my app but doesn't call application:continueUserActivity:restorationHandler

I'm trying to implement Universal Links in my app. I read a lot of tutorials and followed this one to the letter: How to support Universal Links in iOS App and setup server for it? When I click a universal link my app successfully opens but…
primehalo
  • 859
  • 1
  • 14
  • 26
9
votes
2 answers

Branch.io Deeplink not working in safari in ios 9, But it works in chrome

Deeplinks working perfectly when using chrome iOS app. But in safari it stopped working and it always redirect to the appstore page even the app is installed or sometimes pop a alert saying "safari cannot open the page because the address is…
Rakitha
  • 894
  • 1
  • 12
  • 25
8
votes
0 answers

iOS: Opening a universal link through code

I'm trying to open universal links of my app programmatically using the below code: UIApplication.shared.open(url!, options: [.universalLinksOnly : true]) { (success) in if(!success){ print("Not a universal link") } else{ …
Chengappa C D
  • 1,841
  • 1
  • 12
  • 19
8
votes
2 answers

How debug Universal links

I use the cordova plugin "ionic-plugin-deeplinks" (to my knowledge also works with a plain cordova app). On Android, links when clicked let users choice between chrome and my application. => I suppose that app links works => As I'm able to access…
Alexandre SIRKO
  • 816
  • 11
  • 22
8
votes
3 answers

Can we test iOS Universal Links / Deep Links without apple-app-site-association (AASA)?

I have implemented universal links into my app but for reason, AASA file is not going to be uploaded on server for now.
Bharat Dodeja
  • 1,137
  • 16
  • 22
8
votes
3 answers

Hide "Open in app" banner while using Universal links

I'm using Universal links and everything is working perfectly but I can't seem to hide the Open in app banner which shows in the safari. Is there any way to do this?
Akshit Zaveri
  • 4,166
  • 6
  • 30
  • 59
8
votes
6 answers

Open universal link when app is not in background

I have similar case with this problem iOS: apple universal link if app is not open? . When I click an universal link, the app could not go into func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler:…
ray
  • 141
  • 1
  • 11
8
votes
1 answer

How can you debug opening universal links from a cold start?

Universal links & deep links works when I am already debugging the app. However I can't test opening a link from a cold start. I.e. Tapping on a link on safari when the app is not running. I cant see how to attach the debugger if Xcode does not…
Robert
  • 37,670
  • 37
  • 171
  • 213
8
votes
3 answers

No apps with domain entitlements

I am trying to integrate deep linking through universal links. Everything is settled up nicely on developer account. Associated domains are also enable on the app id. On server side myapp.com/apple-app-site-association is available. But apple search…
Anil Kukadeja
  • 1,348
  • 1
  • 14
  • 27
8
votes
1 answer

iOS universal links not working from gmail app

I have implemented iOS universal links to my app and everything is working fine when link is send to email and triggered from mail app, but not works when triggered from gmail app (opens link in embedded browser). I find out that some other app…
8
votes
1 answer

Apple's App Search API Validation Tool - "Error cannot fetch app site association"

Im trying to get this Apple's API validator to validate my apple-app-site-association file on https://signin.methodwarehouse.com. The validator is saying "Error cannot fetch app site association". However, this file is clearly available at…
burnt1ce
  • 14,387
  • 33
  • 102
  • 162
8
votes
2 answers

iOS Universal Links NSURLAuthenticationMethodServerTrust kAuthenticationErr

I've set up Universal Links in our app, and I'm unable to retrieve the apple-app-site-association file from my server on app install. The device console is giving the following error where it attempts to retrieve the file during the…
Nick Sinklier
  • 221
  • 1
  • 3
  • 9
8
votes
0 answers

How to trigger NSUserActivity continuation (Universal Links opening) in the current app?

Universal Links in iOS9 use the Handoff mechanism to look at a link in an app instead of the browser: Whenever a Universal Link is clicked, iOS activates the corresponding app and calls -application:continueUserActivity:restorationHandler with a…
severin
  • 10,148
  • 1
  • 39
  • 40