1

What are the storage limits when using Crosswalk? Do the same rules as for Chrome apply, just in isolation of the app using Crosswalk? Or in the worst case shared global storage limits with the regular Chrome install?

Also, will Crosswalk move any data to the SD card in case the core memory fills up, e.g. an app uses say 1GB of some web database?

Been looking but really can't find any documentation.

Benjamin E.
  • 5,042
  • 5
  • 38
  • 65

1 Answers1

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

hagrawal7777
  • 14,103
  • 5
  • 40
  • 70
  • Ah OK. I was hoping it works in isolation as all or at least big parts of the Chrome code are packed when using Crosswalk. I guess I have to test it. – Benjamin E. Jun 15 '15 at 23:25
  • @BenjaminE. did you manage to test this? Do the same storage quota rules apply in indexeddb with crosswalk as per standard Chrome? – Andrew Thomson Nov 26 '15 at 13:20
  • Sorry haven't tested it but would be interested if you do :) CW packs the Chrome runtime into the app package so I would expect (hope) them to modify the limits for extended capabilities. – Benjamin E. Nov 27 '15 at 02:07