【问题标题】:Is there any way to Deep Link into Microsoft Azure Intelligent Hub application?有什么方法可以深度链接到 Microsoft Azure Intelligent Hub 应用程序?
【发布时间】:2021-11-24 15:13:07
【问题描述】:

我们正在构建一个 ReactNative 应用程序,如果应用程序未安装在用户的设备上,它将重定向用户以从 Intelligent Hub 应用程序安装应用程序。

问题: RN 应用程序重定向到 Intelligent Hub 应用程序并在 Intelligent Hub 中打开主屏幕。我们要求 RN 应用重定向到要安装到 Hub 应用中的特定应用。因为用户不需要在 Hub 应用中导航和搜索应用。

我正在寻找 Hub 应用的 URL 方案。我们如何添加 URL 方案或者它们是否已经可用。

【问题讨论】:

    标签: azure react-native deep-linking url-scheme


    【解决方案1】:

    我找到了解决方案。 Azure Workspace one Intelligent Hub 提供 URL 方案。

    Intelligent Hub 的 URL 方案采用格式(以下方案适用于 iOS 和 Android) wsonehub://apps - 深度链接到应用程序屏幕。 wsonehub://apps/view/AppName - 深度链接到任何应用程序安装页面。

    以下是 Android 的链接。 https://docs.vmware.com/en/VMware-Workspace-ONE-Intelligent-Hub/services/rn/Intelligent-Hub-for-Android-Archive.html?hWord=N4IghgNiBcIO4GcD2A7ApgCwK4CMQF8g

    注意 - 不要忘记在 plist 文件中添加 android 中的 Intent 和 iOS 的 LSApplicationQueriesSchemes。

    iOS 在plist文件中添加

    <key>LSApplicationQueriesSchemes</key>
    <array>
     <string>wsonehub</string>
    </array>
    

    对于 Android,URL 方案不起作用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多