Flutter uni_links深层链接在iPhone模拟器上不起作用

问题描述

我正在尝试与我的应用程序进行深度链接。 我正在使用uni_links https://pub.dev/packages/uni_links

我按照页面上的说明进行操作,并获得了适用于Android设备的深层链接

但是我似乎无法在iPhone模拟器上进行深层链接

<?xml ...>
<!-- ... other tags -->
<plist>
<dict>
  <!-- ... other tags -->
  <key>CFBundleURLTypes</key>
  <array>
    <dict>
      <key>CFBundleTypeRole</key>
      <string>Editor</string>
      <key>CFBundleURLName</key>
      <string>www.bbb.com</string>
      <key>CFBundleURLSchemes</key>
      <array>
        <string>https</string>
      </array>
    </dict>
  </array>
  <!-- ... other tags -->
</dict>
</plist>

在Android仿真器上,当我单击诸如https://www.bbb.com/register/xxxx之类的链接时 它会打开应用程序。

但是在iPhone模拟器上,它只是进入了网站。

在我正在使用的代码

UniLinksType _type = UniLinksType.string;

选项。

我是否必须将应用程序安装在真实设备上才能正常工作?

任何人都可以提供任何建议以解决我的错吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)