{"action":"created","issue":{"url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/5","labels_url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/5/comments","events_url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/5/events","html_url":"https://github.com/nordnet/cordova-universal-links-plugin/issues/5","id":109802449,"number":5,"title":"universal link is not firing JS event on iOS 9","user":{"login":"CookieCookson","id":3473396,"avatar_url":"https://avatars.githubusercontent.com/u/3473396?v=3","gravatar_id":"","url":"https://api.github.com/users/CookieCookson","html_url":"https://github.com/CookieCookson","followers_url":"https://api.github.com/users/CookieCookson/followers","following_url":"https://api.github.com/users/CookieCookson/following{/other_user}","gists_url":"https://api.github.com/users/CookieCookson/gists{/gist_id}","starred_url":"https://api.github.com/users/CookieCookson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CookieCookson/subscriptions","organizations_url":"https://api.github.com/users/CookieCookson/orgs","repos_url":"https://api.github.com/users/CookieCookson/repos","events_url":"https://api.github.com/users/CookieCookson/events{/privacy}","received_events_url":"https://api.github.com/users/CookieCookson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-05T14:01:56Z","updated_at":"2015-10-07T09:26:06Z","closed_at":"2015-10-07T09:12:50Z","body":"Thanks for creating this plugin! I have got to the point of integration where the app is catching URLs and opening the App instead of a webpage, however once reaching the App the javascript event never fires so I cannot proceed any further. \r\n\r\nMy config.xml contains: \r\n```\r\n<universal-links>\r\n    <host name=\"artory.qualia.org.uk\">\r\n        <path url=\"/link/*\" event=\"handleUniversalLink\" />    \r\n    </host>\r\n</universal-links>\r\n```\r\nThis should catch anything on the /link/ url and fire the \"handleUniversalLink\" event listener. In the JS I have:\r\n```\r\ndocument.addEventListener('handleUniversalLink', handleUniversalLink);\r\nfunction handleUniversalLink(payload) {\r\n\tconsole.log(\"received universal link payload:\", payload);\r\n}\r\n```\r\nIt seems the event listener is never firing for handleUniversalLink and I have tried repeatedly using different variables such as the example vars etc and seem to have no luck.\r\n\r\nCould it be because my URLs are being served from a sub-domain maybe? There are absolutely no errors in the JS or xCode console so no leads, and the plugin is definitely getting initialised on launch ([CDVTimer][universallinks] 1.968980ms)."},"comment":{"url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/comments/146130216","html_url":"https://github.com/nordnet/cordova-universal-links-plugin/issues/5#issuecomment-146130216","issue_url":"https://api.github.com/repos/nordnet/cordova-universal-links-plugin/issues/5","id":146130216,"user":{"login":"nikDemyankov","id":13447778,"avatar_url":"https://avatars.githubusercontent.com/u/13447778?v=3","gravatar_id":"","url":"https://api.github.com/users/nikDemyankov","html_url":"https://github.com/nikDemyankov","followers_url":"https://api.github.com/users/nikDemyankov/followers","following_url":"https://api.github.com/users/nikDemyankov/following{/other_user}","gists_url":"https://api.github.com/users/nikDemyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikDemyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikDemyankov/subscriptions","organizations_url":"https://api.github.com/users/nikDemyankov/orgs","repos_url":"https://api.github.com/users/nikDemyankov/repos","events_url":"https://api.github.com/users/nikDemyankov/events{/privacy}","received_events_url":"https://api.github.com/users/nikDemyankov/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T09:26:06Z","updated_at":"2015-10-07T09:26:06Z","body":"Great, that you found the problem! Missed that you are using `https` :( Maybe should remove it from the url matching...\r\n"}}