exclude a url in universial links iOS -


i have implemented universal links , working fine need exclude few url types opening app tried following ways 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/"] - ignore urls, no redirection mobile app

{     "applinks": {         "apps": [],         "details": [{             "appid": "abc",             "paths": ["not /test_url_1/", "/test_url_2/"]         }]     } } 

"paths":["not /test_url_1/", "/test_url_2/"] - ignore /test_url_1/ url, allow /test_url_2/ , 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/", "*"] - open urls in mobile app

i need ignore test_url_1and test_url_2 , open mobile app other urls. there anyway ? missing here. please advice me, tip/help heighly appreciated.

thanks in advance

your third example should correct, , matches both specifications , examples i've seen in working practice before. we'd need see non-anonymized data , actual links debug further.

you possibly try this:

{     "applinks": {         "apps": [],         "details": [{             "appid": "abc",             "paths": ["not /test_url_1/*", "not /test_url_2/*", "*", "/"]         }]     } } 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -