Ios: universal links not working on iOS 10

I am trying to integrate universal links in my iOS application. Therefore, whenever someone clicks on <myapp>.herokuapp.com/content, he is redirected directly to the application. I have completed this setup guide. I made the following setup, but cannot make it work. I also checked other threads in stackoverflow, but none of them solved the problem.

  • Added Related Domains tab in Capabilities in my target program. Two domains added: activitycontinuation:<myapp>.herokuapp.comand applinks:<myapp>.herokuapp.com.
  • In the phase assembly> Resource copy resources, file permissions are added.
  • Got a team from https://developer.apple.com/account/#/membership
  • On my site, added a route for apple-app-site-associationin https://<myapp>.herokuapp.com/apple-app-site-associationwhich returns the following json:

    {
        "applinks": {
            "apps": [],
            "details": [
                {
                    "appID": "<teamId>.<bundleId>.dev",
                    "paths": [ "*" ]
                },
                {
                    "appID": "<teamId>.<bundleId>",
                    "paths": [ "*" ]
                }
            ]
        },
        "activitycontinuation": {
            "apps": [
                "<teamId>.<bundleId>.dev",
                "<teamId>.<bundleId>"
            ]
        }
    }
    
  • An installed application from Xcode on the iPhone 6s Plus (physical device) with the package ID <bundleId>.devand the copied connection https://<myapp>.herokuapp.com/contentin Notes, but it opens in Safari.

+4
source share
3 answers

Bug fixed. The problem was that I tested the Debug configuration. When I tried with the release of the assembly, everything worked fine.

+5
source

There are quite a few problems that may interfere with Universal Links.

Here are a few things to check twice:

  • Is the AASA file specified correctly and signed correctly?
  • ? ( , Universal Links iOS 10, )
  • ?
  • AASA , / - ( , AASA , Charles Proxy , )
  • Notes ? " "? , Universal Linking .

Alex Austen , (: https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios-9/).

/ . Branch, :

+1

,

0
source

Source: https://habr.com/ru/post/1670870/


All Articles