← Back to team overview

ubuntu-phone team mailing list archive

Re: localStorage in HTML5 apps

 

On Mon, Apr 20, 2015 at 4:28 PM, Alexandre Abreu <alexandre.abreu@xxxxxxxxxxxxx> wrote:
can you provide some context?

I just tested on the vivid image and it works fine,

I'm trying to get my Crosswords app working again. It stores in-progress puzzles in localStorage, but these don't survive restarts. If you can let me know where local storage gets serialized to disk, I can see if that's happening.

The code is here [1] if you want to try it, but note that you'll have to add some CSS to make it work with the newer CSS provided by the theme:

html, body, [data-role="mainview"], [data-role="content"] {
   position: static;
}

Thanks,
Robert

[1] https://github.com/rschroll/crosswords



Follow ups

References