Hi,
Our store (Shopify Plus) has Universal Links enabled for an iOS app, via a custom app in Shopify admin (Storefront API / Buy SDK settings: Apple App ID + “Use iOS universal links”). Shopify generates this AASA file:
"paths": [
"NOT /admin/*",
"NOT /*/amazon_payments/callback",
"NOT /*/checkouts/*/express/callback",
"NOT /checkouts/*/*",
"NOT /checkouts/*/*/*",
"NOT /checkouts/*/*/*/*",
"/*"
]
We’d like to remove these three exclusions so checkout links can open in our app:
NOT /checkouts/*/*NOT /checkouts/*/*/*NOT /checkouts/*/*/*/*
Reason: After an offsite payment, the buyer is redirected to /checkouts/sessions/checkout-completion/redirect. We need this URL to open our app so the buyer returns there and sees the order result. Right now it matches NOT /checkouts/*/*/*, so it opens in Safari instead and the buyer doesn’t return to the app.
Questions:
- Is there any way to remove or customize these exclusions?
- If not, what’s the recommended way to return buyers to the app after an offsite payment?
- The Android
assetlinks.jsongenerated for the same store doesn’t exclude any paths, but the iOS AASA does. Why is there a difference between the two platforms? - If these exclusions were removed, what impact could it have (e.g. on checkout, payment callbacks, or Shop Pay)?
Thanks!