UNPKG

cordova-plugin-customurlscheme

Version:

Launch your app by using this URL: mycoolapp://, you can add a path and even pass params like this: mycoolerapp://somepath?foo=bar

10 lines (8 loc) 244 B
(function () { function activatedHandler(e) { if (typeof handleOpenURL === "function" && e.uri) { handleOpenURL(e.uri.rawUri); } }; document.addEventListener("activated", activatedHandler, false); }());