如何使用 flutter uni_link 的通用链接

问题描述 投票:0回答:0

我正在使用

universal link
app link
开发应用程序。
您已注册苹果开发者计划。

我怎么试过

  • 注册

    Associated Domains
    .

  • 修改

    Info.plist

...
<dict>
      <key>CFBundleTypeRole</key>
      <string>Editor</string>
      <key>CFBundleURLName</key>
      <string>m.mydomain.com</string>
      <key>CFBundleURLSchemes</key>
      <array>
        <string>https</string>
      </array>
    </dict>
...
  • Create an
    apple-app-site-association
    file (I didn't append it to the .json name)
{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "<TeamID>.<Bundle Identifier>",
                "paths": ["/test/connect.asp"]
            },
        ]
    }
}

Android正常运行,但

Universal link
在IOS中不运行

ios flutter ios-universal-links
© www.soinside.com 2019 - 2024. All rights reserved.