PoolHallJunkie
PoolHallJunkie

Reputation: 1363

Universal links partial exclude iOS

I have included my path : mydomain.com to universal links as well as mydomain.com/jobs. From outside the app I want to redirect to the app when click on the link. However there is a need from within the app to open some web versions of the app. So some specific jobs like mydomain.com/jobs?id=xxxx are opening the webview but these are too connected with the deep linking. Is there a way to exclude some specific job requests ? For example adding an additional url parameter like mydomain.com/jobs?id=xxxx?allowWebview=true.

Upvotes: 4

Views: 3439

Answers (1)

jefflovejapan
jefflovejapan

Reputation: 2121

From Apple's documentation:

To specify an area that should not be handled as a universal link, add “NOT ” (including a space after the T) to the beginning of the path string.

So you might want to try something like

"paths": ["mydomain.com/*", "NOT mydomain.com/*?allowWebview=true*"]

Upvotes: 3

Related Questions