我在我的应用上使用此插件https://github.com/EddyVerbruggen/cordova-plugin-touch-id。当我调用这些方法时,在我将应用程序聚焦并将其重新聚焦之前,不会调用回调。我用两个不同的插件看到了同样的问题。这是一个cordova ios bug还是我需要做一些事情?
window.plugins.touchid.isAvailable(
function(type) {alert(type)}, // this will not be called until I focus out and back in the app
function(msg) {alert('not available, message: ' + msg)} // this will not be called until I focus out and back in the app
);
感谢您的帮助!