Development discussions around Shopify APIs
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": ["*"] } ] } }
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
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
You can use the steps at https://shopify.dev/custom-storefronts/tools/ios#steps which is pretty much the same for Android
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
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
User | RANK |
---|---|
19 | |
7 | |
7 | |
6 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022