We have developed a Shopify embedded app that includes different routes such as app, edit, settings, and billing. Despite these routes being present in the code, there seems to be an issue with the route not appearing in the store output.
We have also tried deleting and recreating the build folder, but the issue still persists.
What could be the reason behind this? If you need any further information from my end, please let me know.
You you have multiple dev environments then make sure to use the correct app config. This will also generate other .env files like .env.staging, .env.development etc. The error says that it can’t find the correct key and expects a different one so it’s possible that the root cause is here.
Hopefully this gives you an idea of where to look. Happy debugging @spritle_support
Hello, I’m encountering the same issue. I’m using the shopify-app-template-php for my app, and the error started appearing after migrating to App Bridge React 4.
I’ve added the app-bridge.js script to my index.html as follows:
Additionally, I added the following line to my vite.config.js: