EddyVerbruggen / Custom-URL-scheme

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

Android & Cordova , not calling handleOpenURL #153

Open YotamG opened 8 years ago

YotamG commented 8 years ago

Hey Eddy, I tried to test your plugin on Android & Cordova (LG G3 with Lollipop). handleOpenURL method was put in but was not called when trying to open the app using deep linking in an html page , as you demonstrate in your readme.md file. Deep linking as a mechanism does work , without the method being called. Is there a bug on Android?

Yotam

peterholcomb commented 8 years ago

I am also not seeing handleOpenURL fired on android with cordova. The app opens when a user clicks the custom url, but the handleOpenURL function is never fired.

With my app, i have a simple html page that has:

Neither the console or the alerts fire.

johnborges commented 8 years ago

solution for me was to put handleOpenURL() in an inline script tag after cordova.js in the HTML body.