iOS Development

ios – Common Hyperlink not navigating to the right web site

I am making an attempt to get common hyperlinks working in my app. I…

  • have my server arrange
  • is a completely certified area…
  • has a legitimate certificates
  • has .well-known on the root…
  • a file known as apple-app-site-association

I added the Related Domains Functionality to my app. I am utilizing this as my entry for it:

applinks:subdomain.mydomain.com?mode=developer

Apple’s documentation says the apple-app-site-association file must be formatted as follows:

{
    "applinks": {
        "particulars": [
            {
                "appIDs": [
                    "ABCDEFGHIJ.com.me.myapp.debug",
                    "ABCDEFGHIJ.com.me.myapp.alpha",
                    "ABCDEFGHIJ.com.me.myapp.beta",
                ],
                "parts": [
                    {
                        "/": "/poc/*",
                        "comment": "Matches any URL with a path that starts with /poc/."
                    }
                ]
            }
        ]
    }
}

I threw some URLs in a notes file on the gadget utilizing the next variants:

subdomain.mydomain.com/poc/
subdomain.mydomain.com/poc
subdomain.mydomain.com/poc/index.html

Once I faucet these hyperlinks, a browser opens and the message I get is Can't GET <path>.

I am considering I’ve a server difficulty, however I am undecided. In the event you’ve obtained concepts on what I am ****ing up and the best way to repair it, I welcome your responses.

Moreover, on my gadget, I’ve developer mode enabled and after I validate the area below Diagnostics, it says “Opens Put in Utility” and “The URL is a common Hyperlink for the app with identifier “ABCDEFJHIJ.com.me.myapp.debug””

Credit: www.ismmailgsm.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button