Shopify / shopify-app-bridge

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

The util isShopifyEmbedded returns true when the app renders inside any iFrame not just Shopify admin #233

Closed Rafi993 closed 1 year ago

Rafi993 commented 1 year ago

Describe the bug

Expected behaviour

iShopifyEmbedded should return true only if it renders inside the Shopify admin (or POS) iFrame not a random iFrame

Contextual information

Packages and versions

List the relevant packages you’re using, and their versions. For example:

charlesdobson commented 1 year ago

What's your use case for rendering in an iframe but not in the Admin?

Rafi993 commented 1 year ago

Closing this off since this is not a real issue anymore.