Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Embedded App Auto-Redirecting Away From admin.shopify.com

Solved

Embedded App Auto-Redirecting Away From admin.shopify.com

Stefano_P
Shopify Partner
4 1 2

My team is in the process of trying to get our app approved through the review process.  We've been told our app needs to be able to be hosted on admin.shopify.com.  We've complied with all the requirements listed HERE and the app DOES load on admin.shopify.com.

 

The issue is we get a warning banner at the top that says the app is taking too long to load, even when it loads almost instantly, and the page auto-redirects to a new tab at the https://{shop}.myshopify.com... url.

 

Any ideas on why this could be?  I've read other posts that mentioned old app flags on Shopify's end that need to be updated to say the app is now using AppBridge 3.

Accepted Solution (1)

Stefano_P
Shopify Partner
4 1 2

This is an accepted solution.

It seems some "legacy" apps have that warning banner auto-enabled and redirect to the old shop url.  A quick conversation with partner support and they were able to remove it.  They function as expected now.

View solution in original post

Replies 5 (5)

Stefano_P
Shopify Partner
4 1 2

Our app IDs are 5918162945 and 5836157.

garyrgilbert
Shopify Partner
432 41 189

So you are creating the app via app bridge 3 using the host parameter that is passed to the iframe instead of the shop parameter?

 

I've seen this taking too long to load message as well, but only on a dev shop with an integration install.. 

 

it should auto redirect back to "admin.shopify.com/store/[shopname]/[appname]" if you've set up the create_app with app bridge correctly.

 

Cheers,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Stefano_P
Shopify Partner
4 1 2

Yes and the app does load on admin.shopify.com but we get the taking too long to load warning banner and redirected to the old shop url.  The app loads in less than a second so not sure why this happens.

Vellir
Shopify Partner
146 32 40

There seems to be an issue with the current app bridge version.

 

Quite a few people are reporting it here: https://github.com/Shopify/shopify-app-bridge/issues/160

- Looking for a Wishlist? Try First Wish

- Shopify Merchants, manage your new arrivals with Newr

- Shopify Developers, if you're looking into selling your app to focus on other projects, drop me a line.

Stefano_P
Shopify Partner
4 1 2

This is an accepted solution.

It seems some "legacy" apps have that warning banner auto-enabled and redirect to the old shop url.  A quick conversation with partner support and they were able to remove it.  They function as expected now.