How to resolve ShopifyApp.remoteRedirect(path)

How to resolve ShopifyApp.remoteRedirect(path)

Camweara
Shopify Partner
25 0 8

It is display the message as shown in attachment, we have actually migrated app bridge to newer version few days back. We couldn't find remoteRedirect method being called in our code anywhere. Looking for ways to solve this.

 

Screenshot 2023-03-27 182324.png

Replies 3 (3)

JoeyF
Shopify Staff (Retired)
35 7 12
We couldn't find remoteRedirect method being called in our code anywhere

If there's no explicit call to remoteRedirect, there must be an implicit one hiding somewhere. Let's see if we can find it

 

  1. Can you search your codebase for postMessage?
    EASDK uses postMessage to send messages from your embedded app to the host. I want to see if there are postMessage calls that might be sending the remoteRedirect message (I've seen such things with older apps, so I'm guessing someone shared a code snippet and it was copy-pasted by different developers).
  2. Can you please let me know which Shopify-related libraries (and versions) you're using?
    It's possible that a library that you're using is making the call under the hood, and you're not aware of it. Please include any library you think is relevant (developed by Shopify, as well as 3rd party libraries).


Also, I'm not sure it's relevant, but just out of curiosity - Is your app embedded in Shopify Admin or Shopify POS?

To learn more visit the Shopify Help Center or the Community Blog.

Camweara
Shopify Partner
25 0 8

Ok, will look into it @JoeyF thanks!

alejopa
Shopify Partner
4 0 3

Hey, did you fix this issue? I am having the same issue, any idea?. Thanks.