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
453 stars 199 forks source link

apple-app-site-association: unable to modify or add "appclips" and "activitycontinuation" key value pairs #1149

Open developerjigr opened 3 years ago

developerjigr commented 3 years ago

Please complete the checklist before filing an issue:

Currently the apple-app-site-association file is auto generated. It contains a file which enables most paths for universal links.

I need to add the keys for "activitycontinuation" and also "appclips", and edit the paths in "applinks" in order to support my mobile e-commerce app.

I have created a topic about this, but I figure the iOS developers will have the best inside into this apple / iOS specific related problem... and also nobody replies on topics like these on the forums unfortunately.

Would anyone be able to help me understand how can we update this file? If its not possible, would it be possible to work with me to get this issue resolved, as it makes or breaks the business model.

skyfoxa commented 3 years ago

Any update on this? We have similar issue where we would need to modify paths array for our AASA file. Right now it uses * so applinks are enabled for all pages. We would need to open the app only for some pages and have the rest opened with safari.

plobalapps-vj commented 2 years ago

Looking for a solution here.

iOS requires us the mobile app developers to upload the apple-app-site-association file on the root of a domain. The MobileApplicationPlatform API allows us to create the association file and link it to a mobile app using its bundle id.

App clips are a lightweight version of the mobile app that a customer does not require to install on their device before using. App Clips are also required to be linked with the website in order to work with the web URLs. The association between the App Clip and the website is created using the same association file. Here is a document from Apple on how to set it up.

l2sbot commented 2 years ago

Bump.  Would really, really, really like to be able to edit this file in Shopify.  My clients ask me about this almost everyday.  They have email marketing campaigns that they would like to send to the mobile browser and not the app.  Please help us all, Shopify!

AliRehman7141 commented 2 years ago

Any update here?

ashishsuranaace commented 2 years ago

Any update or any solution found

munkius commented 2 years ago

+1. It's a basic necessity to be able to adjust the paths in the file configure this. Otherwise all traffic, apart from the auto-generated shopify related paths, will go to your app. You don't always want this.

paulmesa-aloyoga commented 2 years ago

Bump

andrewprocter commented 1 year ago

+1 to this! Not being able to edit this file forces everyone into the app for every page on the website, which as @munkius said is not ideal.

Will-Langhart commented 1 year ago

I’ve come across a few issues as well with this

On Fri, Jan 27, 2023 at 4:15 PM Andrew Procter @.***> wrote:

+1 to this! Not being able to edit this file forces everyone into the app for every page on the website, which as @munkius https://github.com/munkius said is not ideal.

— Reply to this email directly, view it on GitHub https://github.com/Shopify/mobile-buy-sdk-ios/issues/1149#issuecomment-1407081697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKP4PW4KTAT3H2UXEUZSN3WUQ3HFANCNFSM4456PLYA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cal-os commented 1 year ago

Has anyone actually been able to get basic universal linking to work at all? So far I've:

1) Enabled universal linking via the custom app that provides a storefront access token 2) Confirmed that the file is hosted at /apple-app-site-association, although it doesn't even serve as plain text (immediately downloads) 3) Set up Associated Domains in the app's capabilities 4) Monitored physical iOS device logs for swcd processes confirming that the data download task goes out

Even with the steps above, I am not seeing this work when opening the website url from the iOS notes app. This works for other applinks hosted by services like Adjust.

derLalla commented 1 year ago

+1 also having the same issue. Even uploading a filed called apple-app-site-association and its link as a redirect is not working.

cal-os commented 1 year ago

I got this to work. The key is to prefix the identifier with the team id. It also takes 1-2 days for Apple's CDN to pick it up. Confirmed working for basic universal linking + keychain sharing. @derLalla

developerjigr commented 1 year ago

Would you be able to post your steps for getting it uploaded?On 31 Jul 2023, at 19:31, cal-os @.***> wrote: I got this to work. The key is to prefix the identifier with the team id. It also takes 1-2 days for Apple's CDN to pick it up. Confirmed working for basic universal linking + keychain sharing. @derLalla

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

rldaulton commented 4 months ago

Really shocking that this is still not supported in 2024

developerjigr commented 4 months ago

They took away Apple Pay with the latest update smh - no more Checkout API, meaning no more tokenizedPayment support