Hi, I have an embedded app 58128990209, and I have turned on its embedded option in app configuration.
The app has been successfully embedded in Shopify Admin console, but the App Bridge doesn’t work for me. When I access the react hook of useAppBridge, I can console the config as (don’t worry about data leak, it’s a test app):
Thanks for your response. It seems your solution is identical to my code. I am using the latest version https://shopify.dev/docs/api/app-bridge-library#react so you no longer need to declare provider. as long as you add:
And I see the Shop and Host parameter are passed in as query params correctly.
However, I still have trouble call the app bridge, even after I console.log the appBridge object successfully