简体   繁体   English

子域后的通用链接打开URL

[英]Universal Link open URL after subdomain

I am working on universal link. 我正在研究通用链接。 I had some urls to open in my application. 我在应用程序中打开了一些URL。

I had added portal.xyz.com in associated domains. 我在相关域中添加了portal.xyz.com

Problem : My application opens on https://portal.xyz.com/ . 问题 :我的应用程序在https://portal.xyz.com/上打开。 I want to continue this URL to browser. 我想将此URL继续浏览器。 Just want to open URL that having start path https://portal.xyz.com/da/notification **. 只想打开具有起始路径https://portal.xyz.com/da/notification **的URL。

How can I do this? 我怎样才能做到这一点?

Please keep same associated domain in your project and you need to handle this case from apple-app-site-association file that you have uploaded in server, 请在您的项目中保留相同的关联域,并且您需要通过服务器中上传的apple-app-site-association文件处理这种情况,

{
  "applinks": {
      "apps": [],
      "details": [
          {
              "appID": "9JA89QQLNQ.portal.xyz.com"//keep your Apple Id of you application,
              "paths": [ "/da/notification/*"]
          }
      ]
  }
}

Ref: https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html 参考: https : //developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html

Hope it will be helpful. 希望对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM