summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8')
-rw-r--r--StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8/LaunchMyApp.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8/LaunchMyApp.js b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8/LaunchMyApp.js
new file mode 100644
index 00000000..a8172f0f
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8/LaunchMyApp.js
@@ -0,0 +1,12 @@
+(function () {
+ function activatedHandlerWinUI(e) {
+ if (typeof handleOpenURL == 'function' && e.uri) {
+ handleOpenURL(e.uri.rawUri);
+ }
+ };
+
+ if (typeof Windows != 'undefined') {
+ var wui = Windows.UI.WebUI.WebUIApplication;
+ wui.addEventListener("activated", activatedHandlerWinUI, false);
+ }
+}()); \ No newline at end of file