I am using Vite with JSX and in my App.jsx and I am attempting to listen to the action of a deep linking occuring using the following code
const handleOpenUrl = async (urls) => {
alert('works!');
};
const unsubscribe = onOpenUrl(handleOpenUrl);
return () => {
unsubscribe.then((unlisten) => unlisten());
};
}, []);```
in permissions I have core:event:default & deep-link:default. My conf.json contains the following
``` "plugins": {
"deep-link": {
"desktop": {
"schemes": ["flow"]
}
}```
I am using the following html to trigger the deeplink
```<a href="flow://">test</a>```
the alert never appears once the app is successfully opened via the deeplink.