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

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

duonut
Shopify Partner
3 0 3

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

Replies 3 (3)

duonut
Shopify Partner
3 0 3

duonut_0-1747143700518.png

How to fix this?

duonut
Shopify Partner
3 0 3

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

<script src="https://unpkg.com/@shopify/app-bridge@3"></script>

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?

VincentDuplex
Shopify Partner
1 0 0

Same, Any update?