summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-10 17:15:14 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-10 17:15:14 +0200
commit2fb2e09bb24340a7cc33ae30037f45125791131c (patch)
tree45afccf7b9455ab48f7725a24bae5c28ad02ca9e /StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js
parent6196541cf993d5a1a4b8b7f511bf7daf8f849608 (diff)
androidz
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js')
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js
new file mode 100755
index 00000000..252a94c9
--- /dev/null
+++ b/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js
@@ -0,0 +1,6 @@
+function handleOpenURL (url) {
+ console.log("DEEP LINKING DETECTED", url)
+ url = url.replace("stoneisland:/", "")
+ app.router && app.router.parseRoute( url )
+ window.deepLinkRoute = url
+} \ No newline at end of file