Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/113.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 在PhoneGap构建cli-6.0.0中使用CDWKWebViewEngine的indexedDB_Javascript_Ios_Phonegap Build_Indexeddb - Fatal编程技术网

Javascript 在PhoneGap构建cli-6.0.0中使用CDWKWebViewEngine的indexedDB

Javascript 在PhoneGap构建cli-6.0.0中使用CDWKWebViewEngine的indexedDB,javascript,ios,phonegap-build,indexeddb,Javascript,Ios,Phonegap Build,Indexeddb,在iOS 9.2上运行PhoneGap build 6的应用程序版本中使用CDWKWebViewEngine时,打开indexedDB商店时遇到问题。window.indexedDB不为null,似乎是IDBFactory类型,但当我使用下面的代码时,会报告“InvalidAccessError” var request = window.indexedDB.open("MyTestDatabase", 1); request.onerror = function (event) { a

在iOS 9.2上运行PhoneGap build 6的应用程序版本中使用CDWKWebViewEngine时,打开indexedDB商店时遇到问题。window.indexedDB不为null,似乎是IDBFactory类型,但当我使用下面的代码时,会报告“InvalidAccessError”

var request = window.indexedDB.open("MyTestDatabase", 1);
request.onerror = function (event) {
    alert("Database error: " + request.error.name);                
};

有人能让indexedDB在我描述的环境中工作吗?

FWIW:我让它在
cli-5.2.0
下工作,并且我的测试设备正在运行iOS
8.4.1
。对不起,我没有这方面的笔记。当时我正在测试其他三种表单存储(文件、本地存储和sqlite)。