Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal Link. Unmatchable character

I am having problems trying to match '#' character for Universal Link file (apple-app-site-association).

For an URL like domain/#/results/parameters I've been trying with:

  • /?/results/*
  • /*/results/*
  • /#/results/*
  • /\#/results/*
  • /%23/results/*

But none of them worked for me.

The annoying point is the two first matches the almost equal URL domain/a/results/parameters (whatever character instead #)

How can I match the #?

Regards

like image 459
Salazar Avatar asked Mar 22 '26 11:03

Salazar


1 Answers

@salazar, Finally Apple has heard our queries. Now you can specify fragments in the form of components from iOS 13

The apple-app-site-association structure is changed like this,

 "applinks": {
   "details": [
     {
    "appIDs": [ "TeamID.com.example.myapp"],
    "components": [
          {
            "/": "/path/#mypath/*",
            "#": "*fragment"
          }
        ]
      }
    ]
  }
}

You can find more information about universal linking here - https://developer.apple.com/videos/play/wwdc2019/717/

Note - The documentation is not updated yet at the time of writing this answer.

like image 108
Rizwan Ahmed Avatar answered Mar 24 '26 02:03

Rizwan Ahmed