Henry_Tao
Shopify Staff
Contact Me
Status
Offline
Last Activity
‎11-30-2023 11:13 AM
Topic Started
0
Topics Started
Topic Solutions
28
Solutions
Post Count
91
Posts
Post Kudos
15
Likes

Community Badges

No content to show

User Activity

Can I know which app to reproduce this issue? I verified on my test app. It works fine on both Android and iOS.
Hi @sajan8093 , there are two options at the callback page. - Option 1: perform server-side redirect to shopify by using information in the query params. This can be done manually by doing base64 decode of the host in query param to get the actual do...
@Saso-WD @1080 May I have your appId or API_KEY (it's public, not the secret key)? I can do a further check. Thanks. 
May I know what the browser url when you tried to get the host param? You can strip out the shop and app name in the url before posting here. Thanks. 
Can you remove `shopOrigin` and try again because you already provide the `host` param?
Hi @andrew4real    The /admin/charges/* url should work fine in unified-admin store. When redirect to the /admin/charges/* url, are you using App Bridge Remote Redirect action? You need to use this action to perform top frame redirect. 
@marv1nnnnn    Note that: although it's not required to use app-bridge for some apps but it's recommended to do so. There are a lot of opening questions if you don't:  - How do you perform auth when your app is loaded inside Shopify (iframe)?  - How ...
Hi @marv1nnnnn    I think all of your points are correct. Embedded app is highly recommended to use session token if it needs authentication. 
Hi @James-AvonRes    Sorry about this issue. This hook currently returns optional value. So, you need to check for undefined / null in the meantime. I created a ticket internally to fix it. Thanks for reporting.
Hi @Arjun98    The issue could come from `Cookies.get('host')` is undefined from the Provider below. ``` <Provider config={{ apiKey: API_KEY, host:Cookies.get('host'), forceRedirect: true, }} > ```   There is an issue with the `host` param isn't avai...
Hi @Arjun98    Did you just comment out these auth lines? Can you put them back?    // This shop hasn't been seen yet, go through OAuth to create a session // if (ACTIVE_SHOPIFY_SHOPS[shop] === undefined) { // ctx.redirect(`/auth?shop=${shop}`); // }...
Hi @FezVrasta  Can you let me know what App Bridge version you are using? What platform (Android / iOS) are you testing? 
For context, due to the async loading of all javascript in the page, there is a race condition where the app subscribe to feature update too late. Therefore, it doesn't receive any callback. To solve this, you need to call `featureAvailable` first, c...
Hi @SriVathson  Your code looks good to me. You don't need `read_all_orders` permission. Either `read_orders` or `write_orders` is fine. Cart feature can only be used in POS Cart screen. It isn't available in other screens like apps list or order det...
I will create a ticket and forward to the team. Thanks for the feedback. 
This widget could not be displayed.
This widget could not be displayed.