![](/img/trans.png)
[英]IBM MobileFirst Platform Certificate pinning in Cordova Hybrid apps
[英]IS IBM MobileFirst Platform 7.0.0.00 supports indexedDB
我正在尝试在我的移动应用程序中实现 indexedDB。这里我给出了我的代码
function readAll() {
var objectStore = db.transaction("customers").objectStore("customers");
objectStore.openCursor().onsuccess = function(event) {
var cursor = event.target.result;
if (cursor) {
alert("Name for id " + cursor.key + " is " + cursor.value.name + ", Age: " + cursor.value.age + ", Email: " + cursor.value.email);
cursor.continue();
}
else {
alert("No more entries!");
}
};
}
在这个 cursor.continue(); 在我的 js 文件中显示为红线。我不知道为什么
请任何人帮助。我从
http://www.onlywebpro.com/2012/12/23/html5-storage-indexeddb/
谢谢
MobileFirst 不提供 IndexedDB 支持,因为这不是它可以提供的功能。
MobileFirst 在其基础上使用 Cordova。 如果 Cordova 支持 IndexedDB,您的应用程序将能够使用它。
根据Cordova 文档,IndexedDB 支持:
请通过以下链接cordova支持
https://cordova.apache.org/docs/en/5.1.1/guide/support/index.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.