Firebase动态链接无法正常工作

时间:2020-09-10 08:50:41

标签: android firebase deep-linking firebase-dynamic-links

我使用Rest API创建一个Firebase动态链接,如下所示

const parametersexample = {
        longDynamicLink:
          "https://karthickdltest.page.link/?link=https://www.example.com/openinapp/articledetail?articleId=1234567890&apn=com.example.app&ofl=https://www.google.com/",
        suffix: {
          option: "UNGUESSABLE",
        },
      };

URL中传递的文章ID为1234567890

调用API后,我将长网址放在这样的网站中

<a href="https://karthickdltest.page.link/?link=https://www.example.com/openinapp/articledetail?articleId=1234567890&apn=com.example.app&ofl=https://www.google.com/"
>Open Page:1234567890</a>

它正在工作,没问题,但是当我将商品ID设为123时,它也正在工作,不知道为什么

<a href="https://karthickdltest.page.link/?link=https://www.example.com/openinapp/articledetail?articleId=123&apn=com.example.app&ofl=https://www.google.com/"
>Open Page:123</a>

它不起作用

0 个答案:

没有答案
相关问题