Me again (sorry!)!
It appears that navigate
fails silently on the discount function settings UI, e.g:
const { navigation } = useApi()
useEffect(() => {
navigation.navigate('') // any valid custom protocol
}, [navigation])
Specifically, it doesn’t work for:
1.) Navigating to an app page (using app:)
2.) Opening up an ‘admin action’ extension (using extension:)
3.) Opening up a shopify page (using shopify:)
I would assume these are all the same bug, as the experience is the same - the function gets called, but fails silently.