Handle deeplink to home page
This commit is contained in:
parent
559ee9fb9b
commit
290c1a2396
@ -216,6 +216,8 @@ function initCordova() {
|
|||||||
// Wait a bit so the home page has time to load first.
|
// Wait a bit so the home page has time to load first.
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
switch (link.path) {
|
switch (link.path) {
|
||||||
|
case "/":
|
||||||
|
break;
|
||||||
case "/track":
|
case "/track":
|
||||||
if (link.fragment) {
|
if (link.fragment) {
|
||||||
router.navigate("/track/" + link.fragment);
|
router.navigate("/track/" + link.fragment);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user