If you check here: http://cordova.apache.org/docs/en/3.3.0/cordova_storage_storage.md.html#Storage , the page clearly shows the Web SQL Database API is being used.
This Web SQL Database API is no longer being maintained as mentioned here: http://dev.w3.org/html5/webdatabase/
Moreoever, the PhoneGap solution for Web SQL Database API is not available on all platforms. On the other hand, they also mention that indexedDB is supported, but on a different set of devices.
Why haven they broken the cross platform norms and also used an API being deprecated?
It's based on whether the native WebViews support those technologies. On iOS, there is no IndexedDB support, and who knows when that will change. On Android, I think it's only in WebViews for the latest version (it's been supported in Chrome for a while now). But Web SQL is supported on both Android and iOS, even though it is deprecated.
So Apple is really the one to blame for breaking cross-platform norms and using a deprecated API. Please complain to them and hopefully they'll eventually get their act together.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With