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.html#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