Universal links - Using fragments together with query not working in iOS 14

I am having an issue with Universal links and using fragments together with a query match and i was hoping someone on here has successfully managed to get these two to work together using the new apple-app-site-association file syntax.

All of my other fragment conditions work and open the app when met except for ones using a query. I have also made small changes to my apple-app-site-association to ensure that it was updating on my device and the simulator just to rule that out as a cause.

I have been testing on both an iOS 14 device and iOS 13.5 and i get the same results for both.

I have tried using both string and object syntaxs but neither of them have worked so far.

The url i'm attempting to use looks like this - https://example.com/#/user?id=ABC123

Here is a sample of my apple-app-site-association file including the two versions i've tried for the fragment/query condition that don't work and the standalone fragment conditions which do work.

Code Block {
"applinks": {
"details": [{
"appIDs": ["XXXX.com.throwr.FCRM"],
"components": [{
"#": "/user",
"?": {
"id": "*"
},
"comment": "Matches any URL whose path starts with /user and which has a query item with name 'id'"
},
{
"#": "/user",
"?": "id?=*",
"comment": "Matches any URL whose path starts with /user and which has a query item with name 'id'"
},
{
"#": "/contacts/?*",
"comment": "Matches any URL whose path starts with /contacts/"
}
{
"#": "/events/?*",
"comment": "Matches any URL whose path starts with /events/"
}
]
}]
}
}


I think you're probably out of luck because those "query parameters" are really parsed as part of the URL's fragment:

Code Block
let components = URLComponents(string: "https://example/#/user?id=ABC123")
dump(components)
▿ https://example/#/user?id=ABC123
  - scheme: "https"
  - host: "example"
  - path: "/"
  - fragment: "/user?id=ABC123"

Universal links - Using fragments together with query not working in iOS 14
 
 
Q