Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
82 stars 9 forks source link

The app will open in a new tab warning #270

Closed faridmovsumov closed 5 months ago

faridmovsumov commented 5 months ago

We switched our app from non-embedded to embedded app and started to get the following warning, and our app opens in a new tab with force_legacy_domain=1 parameter.

image

APP ID: 4222617

We are using an updated version of AppBridge, and the same code worked well in the app, which was created directly in embedded mode.

"@shopify/app-bridge": "^3.7.9",
"@shopify/app-bridge-react": "^3.7.9",
henrytao-me commented 5 months ago

@faridmovsumov, I just fixed it for you.

For future devs, this issue needs to be resolved case by case from now on. Please post here if you have it.

Sorry about this inconvenient 🙇

faridmovsumov commented 5 months ago

Thanks a lot, @henrytao-me . I can confirm it works correctly now! 🎉