Questions and discussions about using the Shopify CLI and Shopify-built libraries.
According to this https://changelog.shopify.com/posts/shopify-admin-now-lives-at-admin-shopify-com now there's a new admin URL, that fine and I've updated the app, but why the the legacy URL still opens in a new tab even when we're using the correct new URLS?
And this message doesn't even make any sense.
@Saso-WD i have code as per shopify doc.
i am not getting any error my side. but still few of my client reported this same error.
the solution was update the CSP as per admin.shopify.com this was the solution.
second issue your app can load faster.
more details here my example code
https://github.com/Shopify/shopify-app-template-node/issues/1233
Setting CSP doesn't do anything for me, still opens the legacy url in popup.
UPDATE:
Setting Up CSP & Upgrading to App Bridge 3.7.2 fixed it now, but it took 2 days for Shopify to update (even though the docs say it takes about 3 hours)
@Saso-WD last App Bridge version have you facing the issue ?
I am using the 3.4 but still see the app warning
"@shopify/app-bridge": "^3.4.3",
"@shopify/app-bridge-react": "^3.4.3",
"@shopify/app-bridge-utils": "^3.4.3",
After the warning started popping up I updated to the 3.2 from 2.x, that didn't do it (or maybe didn't give it enough time) but then I updated to the latest version 3.7.2 (I think that's the latest one) and it just started working
@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.
Henry | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog