I have implemented universal links and working fine but now I need to exclude few url types from opening app so i tried following ways with apple-app-site-association file.
{
"applinks": {
"apps": [],
"details": [{
"appID": "abc",
"paths": ["NOT /test_url_1/", "NOT /test_url_2/"]
}]
}
}
"paths":["NOT /test_url_1/", "NOT /test_url_2/"]
- will ignore ALL urls, no redirection to the mobile app
{
"applinks": {
"apps": [],
"details": [{
"appID": "abc",
"paths": ["NOT /test_url_1/", "/test_url_2/"]
}]
}
}
"paths":["NOT /test_url_1/", "/test_url_2/"]
- will ignore /test_url_1/ url, allow /test_url_2/ and ignore other urls
{
"applinks": {
"apps": [],
"details": [{
"appID": "abc",
"paths": ["NOT /test_url_1/", "NOT /test_url_2/", "*"]
}]
}
}
"paths":["NOT /test_url_1/", "NOT /test_url_2/", "*"]
- will open ALL urls in the mobile app
I just need to ignore test_url_1and test_url_2 and open mobile app for other urls. Is there anyway to do this? am I missing something here?