Which version of webview of android and ios supports indexeddb?

你离开我真会死。 提交于 2019-12-10 19:09:21

问题


I'm developing a hybrid mobile app using cordova. So I'm researching the solutions for offline storage. It seems indexeddb will be my best choice.

Now I'm not clear which version of webview of each platform support indexed db. I use can I use to check, but I don't think webview of each platform is listed.

Where can I find these information?


回答1:


I dunno exactly how works cordova. But i think they re directly using the official webview in each OS.

And caniuse.com actually do list the support for both android and iOS. It's under Android Browser and iOS Safari...

About android, it's made possible because the webviews are no longer using the original (crappy) Android Browser, but a custom chromium build since 4.4:

  • Chromium 30 for 4.4.0
  • Chromium 33 for 4.4.3
  • Chromium 37 for L Developer preview

(Notice: there could be some strange difference between official chromium support and android browser like this one, be careful...)

And indexedDb ll be supported in the future iOS 8, it has been annouced during the recent apple keynote.

To sum up, indexedDB would run on android 4.4+ and iOS8+.



来源:https://stackoverflow.com/questions/25818860/which-version-of-webview-of-android-and-ios-supports-indexeddb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!