Questions and discussions about using the Shopify CLI and Shopify-built libraries.
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.
Solved! Go to the solution
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.
Our app IDs are 5918162945 and 5836157.
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
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.
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
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.