FROM CACHE - en_header
Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more!

apple app site association

AmaryFilo
New Member
1 0 0

hello 👋

 

how can i setup an apple app site association? (apple domain association)

when i go to domain/apple-app-site-association i got a json object with empty parameters

 

what i got:

{"applinks":{"apps":[],"details":[]},"webcredentials":{"apps":[]}}


i need to fill like that:

{
  "applinks": {
    "apps": [],
    "details": [
          {
             "appID": "team_id.project_bundle_id",
             "paths": ["*"]
           }
        ]
   }
}

 

Replies 6 (6)
_JB
Shopify Staff
Shopify Staff
836 100 217

Hey @AmaryFilo,

 

You can use the MobilePlatformApplication resource to post the credentials required for iOS Universal Link or shared web credentials, I have the documentation here for you.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Zuber_Shaikh
New Member
2 0 0

I tried both these commands but getting "The remote server returned an error: (404) Not Found." If I try getting order.json with same API Key and Password then all works ok so there no problem in tags or script.

 

Here is a json I am trying to POST { "mobile_platform_application": {"platform": "ios","application_id": "XXXXXXXXXX.com.tXXXXXXXs.TXXXXXXw","enabled_universal_or_app_links": true,"enabled_shared_webcredentials": true}}

 

Please help on this. Requirement is to add a button on Products page which will open in iOS app installed on iPad/iPhone user device. 

 

Thanks,

Zuber

karmelcorn
Tourist
7 0 8

did you manage to figure a solution for this?

Beerd1
Tourist
3 1 1

You can use the steps at https://shopify.dev/custom-storefronts/tools/ios#steps which is pretty much the same for Android

harsha2312
Shopify Partner
3 0 0

Hi @Zuber_Shaikh 

 

I had the same issue and contacted Shopify customer support and they enabled the mobile_platform_applications access scope. After they enabled it, go to your API configuration and give permission to read and write mobile_platform_applications. that's it. Now you can POST

 

Best Regards,

Harsha

coltonsmart
New Member
1 0 0

Hey @_JB ,

 

You mentioned you can use the MobilePlatformApplication resource to change the Apple-App-Site-Association file of your Shop. What would the endpoint look like for that? The resource that Shopify puts out for the Mobile Platform Application (this) doesn't mention accessing the apple-app-site-association, or instructions for the resource to do this. How would you do it?

 

Thanks