Shopify / mobile-buy-sdk-ios

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
MIT License
452 stars 199 forks source link

HOST/.well-known/apple-app-site-association gives 404 after adding Application ID and Enable iOS Universal Links #1165

Open tusharr opened 2 years ago

tusharr commented 2 years ago

Please complete the checklist before filing an issue:

None of the above? Create an issue. Be sure to include all the necessary information for us to understand and reproduce the problem:

I added the settings for Mobile SDK under the private app settings. (Application ID and Enable Universal Links) HOST/.well-known/apple-app-site-association returns a valid json file with a 200 response code

If there's not enough information to address the problem, we'll tag your issue with information required and close it until further information is provided.

Am I missing any other settings or permissions that need to be enabled?

bannzai commented 2 years ago

I face same problem. Any update?

hermanbanken commented 2 years ago

Same problem... how is this not working?

paulmesa-aloyoga commented 2 years ago

You must be using a custom domain for the apple-app-site-association to be uploaded. Shopify's documentation fails to include this point.

cal-os commented 1 year ago

@paulmesa-aloyoga did you have to do anything else custom to get this to work? Reached out on LI.

In short, I've done the following:

1) Shopify side setup (confirmed the file is reachable and downloads when visited in browser) 2) Associated domain setup (confirmed that the entitlements file works as expected as the other applinks work, e.g. universal links provided by Adjust) 3) Observed data task go out from physical device logs in console via swcd process

Not sure what else we're missing. Would appreciate some guidance!