首页 > 解决方案 > 从我的反应本机应用程序中关闭正在运行的应用程序

问题描述

大家好,我只想知道如何停止我从我的反应本机应用程序启动的应用程序:

Linking.openURL()

我想在以下位置停止该应用程序:

setTimeout(()=>{
      //// what to write here to close the app above
   },10000)

请需要帮助。我在 react-native 的链接模块中找不到执行此操作的方法 https://facebook.github.io/react-native/docs/linking.html

标签: react-native

解决方案


推荐阅读