Storage

The Cordova Storage API provides the ability to access the device storage options based on three popular W3C specifications:

  • Web Storage API Specification, which allows you to access data using simple key/value pairs (which we will demonstrate in our "Storage" demo).
  • Web SQL Database Specification, which offers full-featured database tables, which can be accessed using SQL. Note that this option is only available in Android, iOS, BlackBerry 10, and Tizen and not supported on other platforms.
  • IndexedDB Specification is an API for the client-side storage and high performance. It searches on the stored data using indexes. Note that this option is available in Windows Phone 8 and BlackBerry 10.

Demo

In order to use the Storage API, there is no ...

Get JavaScript Mobile Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.