标签: cordova webview
使用Cordova时,我告诉当应用程序在后台时,Web视图(即UI运行的位置)不会运行。我在iOS上测试蓝牙插件https://github.com/randdusing/BluetoothLE。当我测试它并将应用程序放在后台时,webview中的Javascript似乎运行正常。所以我很感兴趣。 Android怎么样?当app在后台时,网页视图无法运行的任何情况?
答案 0 :(得分:0)
您可以使用后台插件在后台运行应用程序。
https://github.com/katzer/cordova-plugin-background-mode