Skip to content

Thinkwise/cordova-plugin-websql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version

WebSQL plugin for Apache Cordova (Windows Phone)

Enables WebSQL functionality on top of a SQLite library. This repo is based on the WebSQL plugin of MSOpenTech. This plugin however supports async execution of sql where the WebSQL plugin of MSOpenTech is completely sync.

Supported Platforms

This plugin only supports the windows platform, since most other platforms (ios, android, etc.) already support WebSQL natively.

You can also combine this plugin with the asynchronous IndexedDB plugin. Together, they enable IndexedDB support for the ios, android, windows, and browser platforms.

Installation

Install via the Cordova CLI.

For Cordova CLI 4.x, use the GIT URL syntax:

cordova plugin add https://github.com/Thinkwise/cordova-plugin-websql.git

For Cordova CLI 5.x, use the new npm syntax:

cordova plugin add cordova-plugin-websql-async

Or just install the asynchronous IndexedDB plugin, which automatically installs this plugin as a dependency.

Build

The Windows and Windows Phone should be built separately. Note that the extra dashes are needed because of a bug in Apache Cordova.

cordova build windows --archs="x86 arm" -- --phone
cordova build windows -- --win

About

Cordova WebSQL plugin for Windows Phone

Resources

Stars

Watchers

Forks

Packages

No packages published