I´m using the new Universal Links feature of iOS, but want to disable certain paths of my homepage for the feature.
E.g.: All URLS that contain "_id_" and the starting page, but not http://example.com/testsite from the domain http://example.com should be opened within my app. How can I solve this?
My apple-app-site-association file on the server looks like this:
{
"activitycontinuation": {
"apps": [
"ABCDEFGHIJ.com.example.ios"
]
},
"applinks": {
"apps": [],
"details": [
{
"appID": "ABCDEFGHIJ.com.example.ios",
"paths": [
"/",
"*_id_*"
]
}
]
}
}
My entitlements file in the app:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>activitycontinuation:example.com</string>
<string>activitycontinuation:www.example.com</string>
<string>activitycontinuation:m.example.com</string>
<string>applinks:example.com</string>
<string>applinks:www.example.com</string>
<string>applinks:m.example.com</string>
</array>
</dict>
</plist>
I didn´t find any option to exclude certain paths. How is this feasible?