Mobile Platform Application Create - missing blackList inputs

Hey, I’m trying to use mobilePlatformApplicationCreate mutation

I understand these mutations help in creating Universal Links so that website links are opened in mobile apps when installed (Short Explanation)

But there can be times, when I want to blacklist certain URLS from being opening in mobile app, like account/reset, account/login, since Shopify doesn’t allow password resets in mobile storefronts. (The users will be redirected to the app when clicking on reset password from the mail if blacklist URL is not provided).

While both android and iOS support blacklisting URLs, I wonder why this mutation doesn’t have an input for this.

Can anyone help me with this
Attaching the mutation link here

Attaching blacklist docs here: [iOS] and android (Supporting associated domains | Apple Developer Documentation)

1 Like

Hey @Naveen_Kumar

Currently, there isn’t a way to edit the automatically generated apple-app-site-association file through the mobilePlatformApplicationCreate mutation. This is a long standing request: apple-app-site-association: unable to modify or add "appclips" and "activitycontinuation" key value pairs · Issue #1149 · Shopify/mobile-buy-sdk-ios · GitHub A practical workaround would be to handle these specific links (like account/reset, account/login) within your app and redirect them to the default browser when needed.

If you’re open to migrating off legacy customer accounts, you might have another option. Since new customer accounts use a different URL (often a subdomain), you could exclude this subdomain from opening in your app. The documentation at Supporting associated domains | Apple Developer Documentation might help with implementing this approach. This migration would also enable you to use the checkout sheet kit for authenticated checkouts, which you can learn more about at Checkout Sheet Kit and Authenticate checkouts with the Customer Account API.

Is there anything else I can help with this, or can I mark this as solved?