Hi everyone,
I’m running into an issue while trying to submit my app for Shopify review.
To pass the checklist item:
“Use the latest App Bridge script loaded from the Shopify CDN”
I added the following tags to the <head>
of my index.html
:
<meta name="shopify-api-key" content="xxxxxxx" />
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>
Once I added those tags, the checklist item was marked as complete — so that part worked.
But after this, the app installation no longer works.
Before adding the script, users would access the app URL during installation, and my frontend would run as expected. It would call my backend API to check if the app was already installed, and either show the initial app content or redirect to the installation URL.
Now, after adding the App Bridge script tag, my frontend doesn’t even load. It crashes immediately and shows a 404 error page.
The weird part?
If I remove the script tag, install the app, and then re-add the tag — everything works fine.
But since this tag is required for app review, I need to figure out how to fix this before I can submit.
This issue is really critical for my team
Extra context:
I’m not using Shopify CLI or Remix.
This is a custom React project built from scratch, and switching frameworks isn’t an option.
If anyone has experienced this or has ideas on what might be causing the issue, I’d really appreciate the help.
Thanks!
Please note that this message was originally written in Korean and translated into English.
If any part of the message is unclear or sounds awkward, feel free to let me know.