Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android App Links integration issue #748

Open
AlexIach opened this issue Sep 16, 2023 · 2 comments
Open

Android App Links integration issue #748

AlexIach opened this issue Sep 16, 2023 · 2 comments

Comments

@AlexIach
Copy link

AlexIach commented Sep 16, 2023

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:

  • I've added correct package id and SHA256 fingerprint;
  • I've configured correct custom application in Shopify Admin console for the correct environment (Storefront API access token for that custom app I use in Android application);
  • Correct intent filter is added to the activity.

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
Copy link

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

@AlexIach
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants