Why does Chrome on iOS 8.4 say indexedDB is null? Safari has it -
on ios 8.4 (ipad air), able use indexeddb in safari, in chrome, says it's null. instead has websql.
why case? there way indexeddb on chrome ios or not added? (it's odd returns null
, not undefined
).
//returns null console.log( window.indexeddb ); console.log( window.webkitindexeddb ); //returns undefined console.log( window.mozindexeddb ); console.log( window.oindexeddb ); console.log( window.msindexeddb );
it because chrome uses webview
, not new wkwebview
new in ios8.
ios webview doesn't support indexeddb (and readonly there polyfills enable indexeddb on websql don't work)
you can find more info on chrome issue tracker here: https://code.google.com/p/chromium/issues/detail?id=423444
Comments
Post a Comment