I use this shim and use it for iOS and android and after patching it works 
great!

The latest build is completely broken without patches, see my pull reqs on 
github and some others.

I'm all for using this as a starting point but it has been broken for almost 4 
months now without manually applying patches. (I'm talking about iterating over 
indexes and cursor.Update being broken). 

If we want to use this, we should never have such a situation again.



Verzonden met Windows Mail





Van: Parashuram Narasimhan (MS OPEN TECH)
Verzonden: ‎vrijdag‎ ‎3‎ ‎januari‎ ‎2014 ‎20‎:‎27
Aan: dev@cordova.apache.org





I gave IndexedDB shim over websql a shot, but it is not 100% compliant and has 
some bugs - http://github.com/axemclion/indexeddbshim. I am working on fixing 
the bugs, but to the level it works, I tested and it works with Cordova well !! 
Could we use that as a starting point ? 

-----Original Message-----
From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of Brian 
LeRoux
Sent: Friday, January 3, 2014 10:37 AM
To: dev@cordova.apache.org
Subject: Re: storage

an indexeddb plugin would be a rad thing for the community to create and 
maintain ;)

in seriousness: the file api is probably what you're really looking for if you 
want to read/write json on phones (you could even use it as a basis for an JS 
only plugin that polyfills indexeddb.


On Fri, Jan 3, 2014 at 5:30 AM, Axel Nennker <ignisvul...@gmail.com> wrote:

> Hi,
>
> I was wondering about the cross-platform experience of Storage.
>
> http://cordova.apache.org/docs/en/3.3.0/cordova_storage_storage.md.htm
> l#Storage
>
> It seems that there is no cross platform solution in Cordova, right?
>
> There are indexeddb shims that implement indexeddb on "all" platforms.
> Shouldn't storage be indexeddb only? websql is deprecated.
>
> My team is currently facing the problem that we implemented a project 
> with Cordova's websql on Android and IOS but it is not supported on FirefoxOS.
> Now I wish we had started with indexeddb and used a shim on IOS. Argh.
>
> I think the text on cross platform storage in 
> cordova_storage_storage.mdis not really helping developers.
>
> Advice?
>
> Thanks
> Axel
>

Reply via email to