EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 365 forks source link

In Windows 10 when activated event fired its e.uri value is undefined #275

Open mnaveedi3rl opened 6 years ago

mnaveedi3rl commented 6 years ago

Hi there,

The plugin seems to be working fantastic! Its working fine for android device and calling handleopenurl it also calling this function in windows device but problem is that when activated event fired in Windows device its not getting e.uri value its always undefined. Please help function activatedHandler(e) { if (typeof handleOpenURL === "function" && e.uri) { handleOpenURL(e.uri.rawUri); } };

Thanks! Madiha

leoSchmit commented 5 years ago

Hello Eddy,

First thanks for your plugin, It's working great !

I have quite a similar issue on Windows 10 as well:

When navigating on my custom uriScheme, my app do open but the handleOpenUrl function seems not being called. It seems "activated" event isn't fired on Windows device.

Any idea to fix it ?

Thanks, Leo