- The Command-line Interface
- Platform Guides
- The config.xml File
- Embedding WebViews
- Plugin Development Guide
- Privacy Guide
- Whitelist Guide
Provides access to the device's storage options.
This API offers storage options based on two different W3C specifications:
Cordova provides access to both interfaces for the minority of devices that don't already support them. Otherwise the built-in implementations apply.
Accessing the Feature
As of version 3.0, access to Storage APIs is built into Cordova, and does not require using the CLI to add plugins as described in The Command-line Interface.
If you are using the older set of Cordova tools that precede the CLI, the following platform-specific configuration settings are still required:
<feature name="Storage"> <param name="android-package" value="org.apache.cordova.Storage" /> </feature>
BlackBerry WebWorks (in
<feature id="blackberry.widgetcache" required="true" version="220.127.116.11" />
Some platforms may support this feature without requiring any special configuration. See Platform Support in the Overview section.