This version of the documentation is outdated!
Click here for the latest released version.
Storage
Provides access to the devices storage options.
This API is based on the W3C Web SQL [Database](database/database.html) Specification and W3C Web Storage API Specification. Some devices already provide an implementation of this spec. For those devices, the built-in support is used instead of replacing it with Cordova's implementation. For devices that don't have storage support, Cordova's implementation should be compatible with the W3C specification.
Methods
Arguments
Objects
Permissions
Android
app/res/xml/plugins.xml
<plugin name="Storage" value="org.apache.cordova.Storage" />
Bada
No permissions are required.
BlackBerry WebWorks
www/config.xml
<feature id="blackberry.widgetcache" required="true" version="1.0.0.0" />
iOS
No permissions are required.
webOS
No permissions are required.
Windows Phone
No permissions are required.
Tizen
No permissions are required.