人行横道存储限制

时间:2015-06-15 08:33:44

标签: android cordova indexeddb crosswalk-runtime

使用Crosswalk时有哪些存储限制?是否适用相同的规则as for Chrome,只是使用Crosswalk隔离应用程序?或者在最糟糕的情况下使用常规Chrome安装共享全局存储限制?

此外,Crosswalk会将任何数据移动到SD卡,以防核心内存填满,例如:一个应用程序使用1GB的某些网络数据库?

一直在寻找,但实际上找不到任何文档。

1 个答案:

答案 0 :(得分:4)

Sharing my knowledge thoughts on the matter - CrossWalk (CW) is just a runtime which helps get full potential of HTML5, because it supports more and advanced HTML5 features than Android's default WebView, and it helps to have a consistent UI in all Android apps, irrespective of who is handset manufacturer.

For that, app will contact or work through CW API and it will interact with Chrome runtime to ensure that there is consistency and what ever gaps are present is filled by CW.

As we can see in below architecture diagram, it still talks with Chrome runtime, so it wouldn't change any runtime rules apart from UI based rule or APIs etc., and at-least it would not change any storage rule or underlying mechanism.

There are issues related to local storage access with CW, but those issues are related to API, so as per me you can expect same storage mechanism, limits and rules with CW.

Hope this helps!

enter image description here