I’m building a very simple embedded Shopify app with Remix + Polaris + App Bridge. The flow is:
Merchant installs the app (first visit).
They see an input field for a numeric, 4 digit key, specific to our platform.
They click Save.
We store that numeric key as a shop-level metafield, then immediately redirect them into the Theme Editor → App Embeds section.
The problem:
On the very first install, when they click Save, the interface changes to “Handling response” and never redirects. After a manual browser refresh, clicking Save works perfectly—no “Handling response” hang, redirect happens immediately.
I suspect Remix’s <Form> / loader-redirect dance inside an iframe is getting blocked the first time, but I haven’t been able to nail down exactly why. The merchant flow breaks until they reload, which is a terrible UX.
Hey @user121 thanks for breaking down the replication steps here, happy to take a look into this.
If you have a dev shop with the app installed, I can definitely take a look at this to try and replicate. If you’re able to share a shop ID/app ID - I can look into this locally and see if we can figure out what may be happening here.
Hey @user121 - I’m still looking into this with our team. Would you be able to share a screen recording of the issue if possible? I noticed that the app is not public yet, so it is a little difficult to replicate on our end. If you’re also able to create a HAR file as you replicate the issue that would be super helpful too (more info on how to create those here).
Hope to hear from you soon - we’ll get this looked into.
Hey @Alan_G , I am not allowed to send files here that are not authorized (authorized extensions: jpg, jpeg, png, gif, heic, heif, webp, avif) so I am sending a link for Google Drive. Thank you for your patience! It really means a lot!
Hey @User121 - still digging into this, but we couldn’t replicate things on our end. When we tried installing the app on a test shop on our end, we noticed that you might have deployed your local config (we saw a Cloudflare tunnel error when we tried installing the app) - just wanted to confirm if that’s the case?
If you’re able to create a version of the app that is hosted somewhere that we can access for a little while, that would be super helpful. If you’d like to share your code, I can also follow up with you over DM to see if we can take a look at that and try to replicate things on our end (you can share a private Github repo if that works)
Thanks @Alan_G, I am going to verify if I have deployed my config right now and get back to you in a bit. I honestly believe the bug is some requirement or verification I am missing. I am open to sharing the code, as the app is quite simplistic in nature.