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
11
votes
3 answers

Get info for service 'applinks', app ID '<>'

Trying to implement universal links in my iOS app running iOS 10, whenever a click a link in my webpage I get the following message in the device log: Feb 24 15:07:11 iPhone swcd(CoreUtils)[10142] : Get info for service 'applinks', app ID…
arclight
  • 5,299
  • 1
  • 22
  • 26
11
votes
2 answers

Are Universal Links cached in iOS? Do they work offline?

I tested Universal Links in iOS by turning on Airplane mode and saw that the correct application was opened (instead of a website) This indicates some level of "caching" the apple-app-site-association. I want to determine the extent to which this…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
11
votes
5 answers

How to set correct content-type for apple-app-site-association file on Nginx/Rails

In order to set up universal links for an iOS app, I have created an apple-app-site-association file, and placed it in the /public directory of my Rails app. I can curl it at the correct address, but it returns the wrong content type. Instead of…
Ali H
  • 779
  • 2
  • 9
  • 21
10
votes
2 answers

How to setup Associated Domains / Universal Links

I am trying to redirect the user to the installed app when visiting www.example.com/success as well as show a banner when visiting the homepage www.example.com. With my current implantation the url DOES NOT redirect and open the app and neither does…
A.Roe
  • 973
  • 3
  • 15
  • 34
10
votes
3 answers

Universal Links from Closed App not working

I have my app set-up to handle Universal links. We handle the retrieval of the URL, and the navigation given the URL inside of this function: func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler:…
Logan
  • 1,172
  • 9
  • 23
10
votes
3 answers

iOS Universal Link doesn't work on some devices

I have set all requirements for Universal Link according to Apple documentation. When i started test on real devices, link doesn't work for some of them. All devices on iOS 11.1.1 so it's not about OS Version. Some devices can open app and when i…
Kemal Can Kaynak
  • 1,638
  • 14
  • 26
10
votes
3 answers

iOS 10.3 Universal Links Not Working

I've gone through pretty much every Universal Links question on SO that I can find and have yet to have any luck. For the record, this all appears to pass Branch's validator. I'm running iOS 10.3 and serving up my aasa file behind https, so in…
Nick Coelius
  • 4,668
  • 3
  • 24
  • 30
10
votes
5 answers

Apple-app-site-association is not working

I have implemented apple-app-site-association for deep linking with my iOS app. I have created the .JSON file without extension and placed to my website's root directory. Now, I can see the file as https://example.com/apple-app-site-association on…
onCompletion
  • 6,500
  • 4
  • 28
  • 37
10
votes
2 answers

Facebook sometimes does not fetch Open Graph tags

I have an iOS app for a public library that shares links to Facebook. The links point to a single domain, which contains a relatively simple PHP script that redirects to three different destination domains based on the linked content (catalog items,…
James Harpe
  • 4,315
  • 8
  • 47
  • 74
9
votes
1 answer

apple-app-site-association app order is not respected

I have a few apps associated with the same domain. They are listed in the apple-app-site-association file in a specific order to make sure each universal link is opened by the most suitable app installed on the device. This works fine on iOS 14 and…
Vladimir Grigorov
  • 10,903
  • 8
  • 60
  • 70
9
votes
1 answer

Universal linking iOS - where is the .xcodeproj file?

I've been trying for days to get Universal Linking working on iOS for React Native. The docs here say "On iOS, you'll need to link RCTLinking to your project". I'm then told to go to node_modules/react-native/Libraries/LinkingIOS and drag a…
MitchEff
  • 1,417
  • 14
  • 29
9
votes
4 answers

iOS Universal Link opens app, does not trigger app delegate methods

I am trying to enable universal links on iOS, (as part of Firebase's password-less sign-up). Testing locally on iOS 13.2. The apple-app-site-associated (AASA) JSON looks as such…
Joe
  • 2,386
  • 1
  • 22
  • 33
9
votes
3 answers

How to implement deep linking in flutter, with redirect to app store?

Is there a way to achieve deep linking in a flutter, so that if a user clicks on a link then they are redirected to a specific part of the app, given that the app is installed, but if it isn't, they are redirected to the respective app store, to…
Ayush Shekhar
  • 1,483
  • 4
  • 16
  • 32
9
votes
1 answer

How to set up an Angular project for iOS universal links and Android asset links to open links in the native mobile apps

Does anyone know how I should set up my Angular project to use native mobile app linkage? E.g. iOS: Universal Links: https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html Android: Digital Asset…
9
votes
1 answer

continueUserActivity not called

I have an app that supports Universal Links. Everything looks properly set up. I have an apple-app-site-association file on the server, appropriate link added to Associated Domains and also I added application:continueUserActivity:restorationHandler…
Ivan
  • 264
  • 3
  • 14