Describe the bug
New app bridge api, have missing documentation or internal bug. There is no way to use custom client router
So in API replacements we have 2 members:
- app.subscribe
- Redirect.Action.PUSH
In old version we can do like that:
New version says that there is replacement for both, but they are missing.
- app.subscribe() - no API for client routers, i have found hidden subscribe in shopify.protocol (see above)
- Redirect.Action.APP - shopify.navigation.navigate() method just missing from shopify instance.
With this method it actually triggered, but twice. While old bridge prevented shopify from iframe reload, this method using my navigate, AND reloads iframe
Describe the bug
New app bridge api, have missing documentation or internal bug. There is no way to use custom client router
So in API replacements we have 2 members:
In old version we can do like that:
New version says that there is replacement for both, but they are missing.
With this method it actually triggered, but twice. While old bridge prevented shopify from iframe reload, this method using my navigate, AND reloads iframe