This app is outdated and will no longer function after Wednesday, September 6, 2023

Hi, we are trying to submit our app on Shopify but its getting rejected because of the message popping out on admin.Shopify domain which is not occurring on the myshopify.com domain, we have constantly made all the new changes like updating app-bridge with a host parameter we get from Shopify and adding admin.shopify in CSP header . As they suggested that app-bridge should load in 5 sec after DOM load which is also getting loaded but the message is still popping.

We are using PHP and JavaScript for our app .This is how we are using app-bridge -

var app = AppBridge.createApp({
apiKey: shopify_api_key,
host: shopHost,
shopOrigin: shopOrigin,
forceRedirect: true
});
our CSP header

content-security-policy: frame-ancestors https://“.$shop.” https://admin.shopify.com
and after the verification we are redirecting the request to our landing page

$install_url = “https://” . $shop . “/admin/oauth/authorize?client_id=” . $api_key . “&scope=” . $scopes . “&redirect_uri=” . urlencode($redirect_uri).“&access_mode=offline”;

Please let us know if we can do something to remove this issue and submit our app .

Hey @Stuti17 . How are you?

My name is Olavo and I’m part of Shopify’s App Bridge team. Thank you for reaching out.

I noticed that you’re initializing App Bridge using shopOrigin which is not a valid API on the latest version. Would you mind testing your app by initializing it only with apiKey, host and forceRedirect:


var app = AppBridge.createApp({
apiKey: shopify_api_key,
host: shopHost,
forceRedirect: true
});
1 Like

Hey @olavoasantos thanks for the reply, the issue is fixed now.

How to verified that?

1 Like

We have

But still we see this warning message once per IP, if we click on Continue App, all devices on that Ip don’t give that error anymore.

We have followed all steps here https://shopify.dev/apps/tools/app-bridge/updating-overview#ensure-compatibility-with-the-new-shopify-admin-domain

but still this error comes for all requests from a new IP address. Is there something that can be missing?

4 Likes

have you found a solution to this problem?

Hi Olavoasantos,

We are not using Shopify Node App Bridge. We have implemented python based app-bridge using Shopify REST APIs. Can you please suggest what we should do to overcome the outdated App error.

Thanks

Arvind