Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handleOpenURL not firing on Win10 cold start #159

Open
edegut opened this issue Mar 9, 2016 · 1 comment
Open

handleOpenURL not firing on Win10 cold start #159

edegut opened this issue Mar 9, 2016 · 1 comment

Comments

@edegut
Copy link

edegut commented Mar 9, 2016

Hi,

The handleOpenURL is not fired if my app has not been launched before...
I'm using cordova 6.0.0

Any Idea?

Regards,
Emilien

@cell42
Copy link

cell42 commented Apr 22, 2016

Hi,

I investigated this issue and find out that on the application cold start, Windows.UI.WebUI.WebUIApplication does not emit "activated" event. I solved it by adding event listener to WinJS.Application.

But there was another issue, on cold start when WinJS.Application emits the "activated" event, there is no access to handleOpenUrl function that is defined in index.html. i personalized the plugin and when the handleOpenUrl function is not defined, then i am using the global variable in window.

I didn't make the pull request because i changed the default behavior of the plugin and I am using WinJS.

I hope that somehow I helped you.

If my solution is right for you, feel free to use my fork of this repository:

https://github.com/cell42/Custom-URL-scheme

Regards,
Dawid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants