My AASA file contains:
{
{...}
"applinks": {
"apps": [],
"details": [
{
"appIDs": [
"XXXXXXXX.BUNDLEID" // AASA File contains correct values
],
"components": [
"/login/"
]
}
]
}
}
My App correctly opens when I browse to /login/.
However, my App also opens on all other paths aswell.
For example /resetPassword/ is also directed to my App with universalLinking, which I don't want, as it should be handled in the Browser.
What am I missing?
I was sure only /login/ should be directed to the app, and I don't seem to be able to prevent opening the app when navigating to other paths.
I have tried returning NO within my continueUserActivity based on the userActivity.webpageURL without success.
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
I have also tried to add NOT * in the components array for the AASA file.
Still the App will open when navigating to any path of my domain, regardless of the AASA Files components.
Selecting any option will automatically load the page