[custom app] App Bridge transitions with redirect.dispatch not working

Topic summary

Regression in a custom app: App Bridge screen transitions triggered via redirect.dispatch stopped working around 7/31 after functioning for over 2 years.

Context:

  • Shopify App Bridge v1.28 in use.
  • handleRedirect creates an App Bridge instance with apiKey and shopOrigin, then uses Redirect.create(app) and redirect.dispatch(Redirect.Action.APP, url) to navigate.
  • A user reported that redirects no longer occur; the team hasn’t identified a cause.

Key details from the code:

  • createApp is called with apiKey and shopOrigin.
  • Redirect is instantiated from the app and dispatches an APP action with the target URL.

What’s being requested:

  • Guidance on why redirect.dispatch may have stopped working and how to fix it (e.g., breaking changes, required configuration updates).

Status:

  • No solution or confirmed cause yet; investigation ongoing. The provided code snippet is central to the issue.
Summarized with AI on December 23. AI used: gpt-5.

Thank you for your help.

We are implementing screen transitions by redirect.dispatch in a custom app.

It has already been in operation for more than 2 years and has been working fine until now,

However, a user pointed out around 7/31 that redirect.dispatch was no longer working.

We are investigating the cause of the problem, but we have no idea what it is, so we are asking this question here.

The code in question

    handleRedirect = (url) => {
        let vm = this;
        const data = vm.props.sendData;
        const apiKey = data["apiKey"];
        const shopOrigin = data["shop"];
        const config = {
            apiKey: apiKey,
            shopOrigin: shopOrigin,
        };

        const app = createApp({
            apiKey: apiKey,
            shopOrigin: shopOrigin,
        });
        const redirect = Redirect.create(app);
        redirect.dispatch(Redirect.Action.APP, url);
    };

The version of App Bridge is 1.28.

Please let us know how we can fix the problem.