how can i show a OPEN FULL SITE button in my embeded app

Highlighted
Shopify Partner
4 0 0

1582343632142.jpg

thanks for helpers!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 170

Hey @wisheslee,

 

As in a button to load the app outside of the Shopify admin? You could pass a specific parameter via the button, for example:

 

my.app.com/?full=true

 

And then if you detect the full parameter, don't reload the app inside the admin. I.e. skip this logic:

 

if (window.top == window.self) {
  window.location.assign(`https://${shopOrigin}/admin${permissionUrl}`);
}
Notice; Out of office, replies will be delayed until my return. Thanks!
0 Likes
Highlighted
Tourist
6 0 2

@SBD_ is there a way to open the embedded app for clients to full screen with a button? 

0 Likes