如何在android webview中处理firebase动态链接

如何在android webview中处理firebase动态链接,android,typescript,firebase,webview,firebase-dynamic-links,Android,Typescript,Firebase,Webview,Firebase Dynamic Links,当我使用firebase动态链接时,android浏览器中出现错误“未找到动态链接”。我在android中没有应用程序,因此如果链接打开,它应该重定向到android web视图。因此,它重定向到chrome,但显示了上述错误。如何解决这个错误 this.http.post<any>('https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=*********', { "longDynam

当我使用firebase动态链接时,android浏览器中出现错误“未找到动态链接”。我在android中没有应用程序,因此如果链接打开,它应该重定向到android web视图。因此,它重定向到chrome,但显示了上述错误。如何解决这个错误

   this.http.post<any>('https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=*********', 
    {
      "longDynamicLink": "https://example.com/invit?link=https://example.com/invit/"+id+"/&ibi=-App-Run-XYZ&isi=123456&efr=1&afl=https://example.com/friends/"+id+"&ofl=https://example.com/friends/"+id
    }

this.http.post

当我更改“your\u deep\u link”url时,它起作用了

例如,如果要创建指向资源的动态链接(网页、通用链接或应用程序链接),则不能将其用作动态链接URL前缀,因为这样做会导致将其视为动态链接。相反,您必须将URL前缀与不同的域或路径前缀一起使用

正确的

 https://link.example.com/?link=https://example.com/my-resource
 https://example.com/links/?link=https://example.com/my-resource
 https://ex.amp.le/?link=https://example.com/my-resource
 https://link.example.com/?link=https://example.com/my-resource
 https://example.com/links/?link=https://example.com/my-resource
 https://ex.amp.le/?link=https://example.com/my-resource