← Back to team overview

ubuntu-phone team mailing list archive

Re: localStorage in HTML5 apps

 

no worries, can't wait to see your crosswords app in the store !

On Mon, Apr 20, 2015 at 5:15 PM, Robert Schroll <rschroll@xxxxxxxxx> wrote:

> False alarm -- everything is working.
>
> I was trying to diagnose another problem by providing my own QML shim to
> load a webview.  This was (and still is) interfering with localStorage for
> some reason.  I thought I had taken it out, but I hadn't.  Oops.
>
> Sorry for the noise,
> Robert
>
>
>
> On Mon, Apr 20, 2015 at 4:42 PM, Robert Schroll <rschroll@xxxxxxxxx>
> wrote:
>
>> 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
>>
>
>

References