首页 > 解决方案 > 深层链接不匹配

问题描述

我正在尝试在我的应用程序上使用我的网址导航,但我这样做了:

platform.ready().then(() => {

  this.deeplinks.route( {

    '/test': AdminPage,

  }).subscribe((match) =>{

    alert("MARCHEEEEE");

    alert(JSON.stringify(match));

  }, (noMatch) =>{
    alert("CA MARCHE PAS TON DEEPLINK");
    alert(JSON.stringify(noMatch));
  });

当我在做的时候:http://localhost/#/test它不起作用

标签: ionic2ionic3

解决方案


推荐阅读