But the issue here is that I get a 404 from Shopify on app install and I have no idea why - My Express / Next.js server has no logs. It looks entirely browser redirects Shopify's end bc there is no embedded iFrame for my app on this page.. This is all very confusing I have literally no clue how to debug what's wrong here. I read some other discussions about clear DB which I did, just delete the SQLite sessions file. Can anyone help me figure out what the heck is going on here? I can't find any documentation and there's no readable source-code for @Shopify/app-bridge-react? These tools and APIs are like the mother of all Rube Goldberg machines..
Here's the Provider higher order component that wraps the Next.js _app.tsx file..
Thats probably the internal uid of the app. Shopify uses that during the redirect phase of the app or directly after install, when the merchant then clicks on the app from the apps menu it puts in the actual name of the app. I think they had some asynch issues thats why it uses the uid on first load.
I'm guessing you are using ngrok or some other passthrough to host your app during development on localhost or are using a web accessible host machine to begin with right? If no then this shouldn't be the problem either.
The very first thing that should happen during install is that the app gets redirected to the oath flow so that the merchant can approve the scopes.. is this happening?
- Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution