diff options
Diffstat (limited to 'StoneIsland/www/js/lib/etc')
| -rwxr-xr-x | StoneIsland/www/js/lib/etc/deeplink.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/etc/push.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/etc/deeplink.js b/StoneIsland/www/js/lib/etc/deeplink.js index 7667cfcd..fc3b52a9 100755 --- a/StoneIsland/www/js/lib/etc/deeplink.js +++ b/StoneIsland/www/js/lib/etc/deeplink.js @@ -2,4 +2,5 @@ function handleOpenURL (url) { console.log("DEEP LINKING DETECTED", url) url = url.replace("stoneisland:/", "") app.router.parseRoute( url ) + app.deepLinkRoute = url }
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/etc/push.js b/StoneIsland/www/js/lib/etc/push.js index 29d2938f..746172eb 100755 --- a/StoneIsland/www/js/lib/etc/push.js +++ b/StoneIsland/www/js/lib/etc/push.js @@ -132,6 +132,7 @@ var push = (function(){ pushPlugin.finish(function(){}, function(){}) if (push_obj.additionalData.url) { + app.deepLinkRoute = push_obj.additionalData.url app.router.go(push_obj.additionalData.url) } } |
