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
16
votes
2 answers

How do I access Apple's AASA validator (App Search API Validation Tool)?

When building an Apple App Site Association file (AASA or apple-app-site-association file), it's very easy to get it wrong. That's why Apple built a "App Search API Validation Tool" (ref1, ref2). This seemed to be available as recently as June 2022…
16
votes
2 answers

Does AsWebAuthenticationsession support universal links?

I use AsWebAuthenticationsession to authenticate from another application to my application. I open AsWebAuthenticationsession, and it redirects my application's universal links. The problem is when it redirects my application universal link, it…
16
votes
4 answers

`scene(_ scene: UIScene, continue userActivity: NSUserActivity)` doesn't get called when the app is launched after the user clicks on a universal link

Method scene(_ scene: UIScene, continue userActivity: NSUserActivity) doesn't get called when the app is launched after the user clicks on a universal link. It works fine when already launched app opens again after the user clicks on the universal…
Dmitry
  • 527
  • 5
  • 13
16
votes
4 answers

Universal Links works locally but not from AppStore Apps

After installing the app manually from xCode (with the device plugged to the MacBook) I can click mails with a link to the Web App and it opens it into the cordova app instead of the web app (as expected). But when I download and install the app…
Alexandre SIRKO
  • 816
  • 11
  • 22
16
votes
0 answers

Deeplink solution for IOS and Android apps works in Facebook

There are too much Deep Linking (Universal Links or App Links) tutorials. But most of them shows how to enable it in Android or IOS Apps. Also there are paid cloud solutions but they offer to much features. But there are three main problems I faced…
16
votes
3 answers

Configure apple-app-site-association file and upload on server

I am new on iOS development. I am implementing Universal Links in iOS App with ASP.net application. I have define my associate domain in capabilities under Associated Domains: applinks:www.abcd.com And also configure in App Ids on…
Shobhit Agrawal
  • 417
  • 2
  • 4
  • 11
16
votes
1 answer

Xcode 8.2 cannot set entitlements membership

I am trying to configure universal links on my App, but is not working. I read that a common cause of universal links are not working is that the entitlements file is not include in the build. But I am not able to set the target membership of my…
Guilherme Torres Castro
  • 15,135
  • 7
  • 59
  • 96
16
votes
4 answers

Universal links (Deep linking) not working on iPhone but works on iPad

I am trying to build deep linking feature into my app. I did all the necessary set up for deep linking to work like, enabling associated domains in my app, adding apple-app-site-association to the root directory of my server, and I am serving a…
iamyogish
  • 2,372
  • 2
  • 23
  • 40
16
votes
4 answers

Universal link - The domain has some validation issue

Im working on universal link to open the application while tap the url. I am using https server and done all the steps from apple (Apple Doc). But the apple universal link validator show below error, Your file's 'content-type' header was not found…
Karthik Saminathan
  • 161
  • 1
  • 1
  • 5
16
votes
3 answers

Supporting same domain on two different apps supporting universal links..?

I have an application which supports universal links and it is currently in the app store. Say it supports the domain www.example.com and thus universal links can be easily opened via this. We will have applinks:www.example.com in associated…
Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115
15
votes
10 answers

How to serve apple-app-site-association file on /apple-app-site-association page in ReactJS

I'm having a lot of trouble with serving a apple-app-site-association file in ReactJS project. I've searched a lot of GitHub issues pages (for ReactJS, Gatsby, and Angular), forums, and a lot of online communities, and it seems that I can't find a…
15
votes
1 answer

When is the apple-app-site-association file being fetched?

I have an application on store right now. It did not worked with universal linking. Then I update application and add Apple-app-site-association file in to my website. Re-install the app is likely the solution, but my app is already distributed in…
15
votes
2 answers

Open email app url

I want to add link to my website "Check your email". If user is on mob version link should open mail app or email service url in browser if app is absent. For example user has test@gmail.com. Link should open gmail app or https://mail.google.com in…
Dmitry Teplyakov
  • 2,898
  • 5
  • 26
  • 46
15
votes
2 answers

in apple app site association file, why "NOT" doesn't exclude path mentioned?

I have added universal links into my iOS application messages http://somesite.com/message/list/ >> opens the app to messages review http://somesite.com/review/add/ >> opens the app to review place http://somesite.com/place/add/ >> opens…
DeyaEldeen
  • 10,847
  • 10
  • 42
  • 75
15
votes
2 answers

iOS Universal Links: how to exclude certain paths from URL?

I´m using the new Universal Links feature of iOS, but want to disable certain paths of my homepage for the feature. E.g.: All URLS that contain "_id_" and the starting page, but not http://example.com/testsite from the domain http://example.com…
stk
  • 6,311
  • 11
  • 42
  • 58
1
2
3
51 52