Using the latest App Bridge script loaded from Shopify's CDN

I am trying to submit a shopify app but it is not ticking off the automated requirement of: Using the latest App Bridge script loaded from Shopify’s CDN

2 Likes

How to fix this?

1 Like

i’m using react.js. here i’ve added this script in index.html page inside head tag. -

and in app.js page

useEffect(() => {
const urlParams = new URLSearchParams(window.location.search);
const shop = urlParams.get(“shop”);

if (shop) {
const app = createApp({
apiKey: process.env.SHOPIFY_API_KEY,
host: new URLSearchParams(window.location.search).get(“host”),
forceRedirect: true,
});

// Redirect to your Django install endpoint
window.location.href = ${domain}/account/shopify/install?shop=${shop};

}
}, );

after updating this i’m waiting more than 2 hours. but still same issue happen. how to resolve this?

Same, Any update?

i used this still now i got this have you finished this ?