【问题标题】:Open a certain HealthKit screen in iOS within React Native在 React Native 中的 iOS 中打开某个 HealthKit 屏幕
【发布时间】:2019-03-12 08:17:19
【问题描述】:

我的 React Native 驱动的应用程序需要用户订阅某个医疗服务提供商来获取他们的医疗记录。为此,我的应用程序应打开一个屏幕,用户可以在其中查看提供者列表并选择他们需要的那些。

该屏幕可能通过“iOS 桌面 -> 健康 -> 健康数据 -> 健康记录”的路径到达,该路径非常深。我如何知道该路径的 URL 以使用链接 API 从我的应用中打开它?

【问题讨论】:

    标签: ios react-native deep-linking healthkit


    【解决方案1】:

    Apple 有一些关于其 URL 架构的文档,但总体而言,它类似于 health:// 作为基线

    如果您使用 expo,请查看 https://docs.expo.io/versions/latest/workflow/linking/#built-in-url-schemes

    如果不是,这里 - https://facebook.github.io/react-native/docs/linking.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-03-05
      • 2018-09-04
      • 1970-01-01
      • 2020-11-13
      • 1970-01-01
      • 2020-05-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多