Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/476.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 应用关闭时在后台运行服务/任务-反应本机_Javascript_React Native_Background Service_Background Task - Fatal编程技术网

Javascript 应用关闭时在后台运行服务/任务-反应本机

Javascript 应用关闭时在后台运行服务/任务-反应本机,javascript,react-native,background-service,background-task,Javascript,React Native,Background Service,Background Task,我有使用react native构建的移动应用程序。它需要在后台检查数据,比如说,即使应用程序关闭,也要每隔5秒检查一次。 我可以使用什么来运行后台进程 我试图搜索解决方案,但发现库仅限于每15分钟运行一次服务。您看过这个吗?

我有使用react native构建的移动应用程序。它需要在后台检查数据,比如说,即使应用程序关闭,也要每隔5秒检查一次。 我可以使用什么来运行后台进程

我试图搜索解决方案,但发现库仅限于每15分钟运行一次服务。

您看过这个吗?