Skip to content

Commit a2cacb2

Browse files
author
Christopher J. Brody
committed
Disable support for use with Cordova
1 parent f9d9d76 commit a2cacb2

File tree

4 files changed

+10
-16
lines changed

4 files changed

+10
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using sql-memory-growth.js
44

5-
with Cordova framework optional (not needed)
5+
with Cordova framework not supported, not needed
66

77
This plugin version is available under GPL v3 (<https://www.gnu.org/licenses/gpl-3.0.txt>) or evcustom commercial license options and includes components available under the MIT and Apache 2.0 licenses listed in [LICENSE.md](./LICENSE.md). Contact for commercial license: <[email protected]>
88

@@ -26,7 +26,7 @@ Copy the following files and use them in the HTML `script` tag:
2626

2727
Native SQLite component with API based on HTML5/[Web SQL (DRAFT) API](http://www.w3.org/TR/webdatabase/) for the following platforms:
2828
- ~~Android~~
29-
- browser
29+
- browser (with no Cordova support)
3030
- ~~iOS~~
3131
- ~~macOS ("osx" platform)~~
3232
- ~~Windows 10 (UWP) DESKTOP and MOBILE (see below for major limitations)~~

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sqlite-evcustom-browser-memory-storage-ext-free",
33
"version": "0.0.1-dev",
44
"description": "SQLite evcustom browser memory storage - emulation of Cordova/PhoneGap sqlite storage plugin on browser - custom enterprise version with premium performance improvements and extra features",
5-
"cordova": {
5+
"cordova-disabled": {
66
"id": "sqlite-evcustom-browser-memory-storage-ext-free",
77
"platforms": [
88
"android",
@@ -18,7 +18,7 @@
1818
},
1919
"keywords": [
2020
"sqlite",
21-
"ecosystem:cordova",
21+
"ecosystem:cordova-disabled",
2222
"cordova-android",
2323
"cordova-browser",
2424
"cordova-ios",

plugin.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<clobbers target="SQLitePlugin" />
2020
</js-module>
2121

22-
<platform name="browser">
22+
<platform name="browser-disabled">
2323
<!-- ... -->
2424
<js-module src="src/browser/SQLiteProxy.js" name="SQLiteProxy">
2525
<runs />
@@ -31,7 +31,7 @@
3131
</platform>
3232

3333
<!-- android -->
34-
<platform name="android">
34+
<platform name="android-disabled">
3535
<!-- Cordova >= 3.0.0 -->
3636
<config-file target="res/xml/config.xml" parent="/*">
3737
<feature name="SQLitePlugin">
@@ -52,7 +52,7 @@
5252
</platform>
5353

5454
<!-- iOS -->
55-
<platform name="ios">
55+
<platform name="ios-disabled">
5656
<config-file target="config.xml" parent="/*">
5757
<feature name="SQLitePlugin">
5858
<param name="ios-package" value="SQLitePlugin" />
@@ -82,7 +82,7 @@
8282
</platform>
8383

8484
<!-- macOS (osx) -->
85-
<platform name="osx">
85+
<platform name="osx-disabled">
8686
<config-file target="config.xml" parent="/*">
8787
<feature name="SQLitePlugin">
8888
<param name="ios-package" value="SQLitePlugin" />
@@ -114,7 +114,7 @@
114114
</platform>
115115

116116
<!-- windows -->
117-
<platform name="windows">
117+
<platform name="windows-disabled">
118118
<js-module src="src/windows/sqlite-proxy.js" name="SQLiteProxy">
119119
<runs />
120120
</js-module>

spec/www/index.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,10 @@
1313
<script src="lib/jasmine-2.5.2/jasmine-html.js"></script>
1414
<script src="lib/jasmine-2.5.2/boot.js"></script>
1515

16-
<!-- Alt 1: use cordova.js -->
17-
<!-- - ... - -->
18-
<script src="cordova.js"></script>
19-
20-
<!-- Alt 2: Manually copied for test: -->
21-
<!-- -
16+
<!-- Manually copied for test: -->
2217
<script src="SQLitePlugin.js"></script>
2318
<script src="SQLiteProxy.js"></script>
2419
<script src="sql-memory-growth.js"></script>
25-
- -->
2620

2721
<!-- browser startup test: -->
2822
<script src="spec/browser-check-startup.js"></script>

0 commit comments

Comments
 (0)