summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js')
-rw-r--r--StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
new file mode 100644
index 00000000..a70d5e94
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
@@ -0,0 +1,10 @@
+(function () {
+ function activatedHandler(e) {
+ if (typeof handleOpenURL == 'function' && e.uri) {
+ handleOpenURL(e.uri.rawUri);
+ }
+ };
+
+ var wui = Windows.UI.WebUI.WebUIApplication;
+ wui.addEventListener("activated", activatedHandler, false);
+}());