Shopify / mobile-buy-sdk-android

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 their credit card.
MIT License
216 stars 136 forks source link

Android App Links integration issue #748

Open AlexIach opened 1 year ago

AlexIach commented 1 year ago

Please complete the checklist before filing an issue: I need to implement deep-linking (Android App Links) for the mobile application that uses Shopify Buy SDK (v.15.1.0) I followed the steps mentioned in official documentation - https://shopify.dev/docs/custom-storefronts/additional-sdks/android After configuring Custom Application in Shopify Admin console deep-linking is not working and I can not understand why exactly it's not working.

What I can be 100 % sure:

When I check for verified links in my App's settings I don't see Shopify website domain there which I have in Shopify Admin console.

I've already addressed this issue to Shopify Support team and API team and they advised to open the issue in public SDK repo. Could you please advise what I'm missing or maybe what I did wrong? Thanks

ShooterArk commented 3 months ago

Hi @AlexIach, were you able to fix the issue? I am facing the same issue now.

AlexIach commented 3 months ago

Hello @ShooterArk , Unfortunately no. This configuration issue is still there. What our team did is created our own Web Service where we host Android and iOS deep-link configuration files and changed deep-link host URL which we distribute via e-mail to a new one which we created. E.g Old deep-link: https://my_shop.myshopify.com/products?product_id=9999 (my_shop -> your Shopify shop name) New deep-link: https://my_shop_dl_host.myshopify.com/products?product_id=9999 (my_shop_dl_host -> new host of newly created Web Server) And now both Android and iOS apps are configured to handle deep-link for our new WebServer. Note: We had to add some redirect logic in case when Mobile app is not installed on user device so when user opens https://my_shop_dl_host.myshopify.com/products?product_id=9999 in Browser we'll redirect to actual Shopify URL https://my_shop.myshopify.com/products?product_id=9999 .

I hope this will help you.