Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
To create a new instance of createApp from App Bridge we need the host, which according to the documentation:
"The host is provided as a URL query parameter appended to your application URL when your app is loaded inside the Shopify admin."
But when I load the app absolutely no parameters are there in the URL. The only place I see that parameter is the sharable link that is shown in the terminal when I run "npm run dev".
How should I get and store the host then ?
Did you ever figure out how to get around this? I'm running into a similar issue where I'm missing the host query param on my production deploys. Using "npm run dev" in my development environment works and runs as expected.
Anyone else find a solution for this?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025