NO , Currently # (inline-links) and? (query-parmeter) is not supported by Universal Links . Apple did not provide a format for supporting Inline-Links and Query-Parmeter in the apple-app-site-association file.
To do the indexing https://www.mywebsite.com?parameter=something , I use the following json file.
{ "applinks": { "apps": [], "details": [ { "appID": "TEAMID.BUNDLEID", "paths":[ "*" ] } ] } }
If you want to restrict indexing to only a certain parameter, for example query_parmeter1 and query_parmeter2 , then you need to handle this in the UIApplicationDelegate [UIApplicationDelegate application: continueUserActivity: restorationHandler:] method something like this
-(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler{ if ([userActivity.activityType isEqualToString: NSUserActivityTypeBrowsingWeb]) { NSURL *url = userActivity.webpageURL; if ([url.query containsString:@"query_parmeter1"]) {
Note. This trick will not prevent the application from opening when you click a link to a website.
Links - Processing request parameters in universal links
source share