【问题标题】:Open apps settings in ios react-native在 ios react-native 中打开应用程序设置
【发布时间】:2019-05-17 11:16:47
【问题描述】:

有什么方法可以使用 React Native Linking 打开 MYApp 的应用设置。

我正在关注 this 以获取 App-Prefs。但我无法在 IOS 中打开除 root 设置页面之外的任何其他设置。

例如:Linking.openURL('App-prefs:root=General&path=About');

我可以使用react-native-open-settings 打开应用设置。

有没有办法使用 React Native 提供的 Linking API 打开应用设置。

提前致谢。

【问题讨论】:

    标签: ios react-native deep-linking


    【解决方案1】:

    这适用于我并打开我的应用程序的设置:

    Linking.openURL('app-settings://');
    

    【讨论】:

    • 你是对的。问题出在我的应用程序上,应用程序需要至少一项权限才能在设置下列出该应用程序。我试图在没有任何权限的情况下打开它。之后代码工作正常。感谢您的快速回复。
    • @Shubham 不客气,至少要拥有一项能力。
    猜你喜欢
    • 2016-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-04
    • 1970-01-01
    • 2017-05-31
    • 1970-01-01
    相关资源
    最近更新 更多