Hi,
I develop a shopify application with cli 3.43.0 and after installing it on the store for testing I receive the following message:
“APPNAME will open in a new tab> This app is taking a while to load. If you are not automatically redirected, click to open the app now. Learn more”
When I access the “Learn more” link, the message is displayed:
“Your embedded app needs to load in admin.shopify.com. Shopify is moving to this new domain and all merchants will have access to it, as of Jan 31st, refer to our changelog for details. To resolve this issue, reference our Setting up Iframe protection document as well as ensure your app is at minimum on App bridge 2.0, App bridge 3.0 is recommended.”
I mention that the store I use in the tests is also newly opened, so all are updated with the new requirements for development:
-
cli 3.x
-
app bridge 3
-
new store …
I don’t understand what else needs to be updated in the code to open the application normally and not in a new page.