The public embedded app that I am developing currently has a sub-optimal user experience. The thing is, when the user launches my app, depending on whether the profile setup is complete or not, I redirect the user either to /signup or to /home route. I do this quite simply using the Next.js utility method:
However, what this does is it momentarily loads my app full-screen (i.e. without the visible Shopify Admin UI), and then reloads as an iFrame inside the Shopify Admin. So, essentially it works, but the flickering of the screen is somewhat annoying.
I know that I can use AppBridge utils to gracefull handle such redirects on the client-side:
Is there a way to handle these redirects similarly user-friendly from the server?
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024