|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" |
3 | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
4 | | - id="cordova-sqlite-storage" |
5 | | - version="2.1.4-fixdev01"> |
| 4 | + id="cordova-sqlite-express-wip" |
| 5 | + version="1.0.0-pretest01"> |
6 | 6 |
|
7 | 7 | <name>Cordova sqlite storage plugin</name> |
8 | 8 |
|
|
13 | 13 | <description>Native interface to SQLite for PhoneGap/Cordova. Allows you to use more storage and provides more flexibility than the standard Web SQL database (window.openDatabase).</description> |
14 | 14 | <author>Litehelpers/Various</author> |
15 | 15 |
|
16 | | - <!-- THANKS to AllJoyn-Cordova / cordova-plugin-alljoyn: --> |
17 | | - <hook type="before_plugin_install" src="scripts/beforePluginInstall.js" /> |
18 | | - |
19 | 16 | <js-module src="www/SQLitePlugin.js" name="SQLitePlugin"> |
20 | 17 | <clobbers target="SQLitePlugin" /> |
21 | 18 | </js-module> |
|
31 | 28 |
|
32 | 29 | <source-file src="src/android/io/sqlc/SQLitePlugin.java" target-dir="src/io/sqlc"/> |
33 | 30 | <source-file src="src/android/io/sqlc/SQLiteAndroidDatabase.java" target-dir="src/io/sqlc"/> |
34 | | - <source-file src="src/android/io/sqlc/SQLiteConnectorDatabase.java" target-dir="src/io/sqlc"/> |
35 | | - |
36 | | - <!-- Android-sqlite-connector [jar]: --> |
37 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" target-dir="libs"/> |
38 | | - <!-- Android-sqlite-connector native driver [native libs]: --> |
39 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/arm64-v8a/libsqlc-native-driver.so" target-dir="libs/arm64-v8a"/> |
40 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/armeabi/libsqlc-native-driver.so" target-dir="libs/armeabi"/> |
41 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/armeabi-v7a/libsqlc-native-driver.so" target-dir="libs/armeabi-v7a"/> |
42 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/x86/libsqlc-native-driver.so" target-dir="libs/x86"/> |
43 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/libs/x86_64/libsqlc-native-driver.so" target-dir="libs/x86_64"/> |
| 31 | + |
44 | 32 | </platform> |
45 | 33 |
|
46 | 34 | <!-- iOS --> |
|
59 | 47 | <source-file src="src/ios/PSPDFThreadSafeMutableDictionary.m" |
60 | 48 | compiler-flags="-w" /> |
61 | 49 |
|
62 | | - <header-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.h" /> |
63 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" |
64 | | - compiler-flags="-w -DSQLITE_THREADSAFE=2 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_DEFAULT_CACHE_SIZE=2000" /> |
| 50 | + <framework src="libsqlite3.dylib" /> |
65 | 51 | </platform> |
66 | 52 |
|
67 | 53 | <!-- macOS (osx) --> |
|
80 | 66 | <source-file src="src/ios/PSPDFThreadSafeMutableDictionary.m" |
81 | 67 | compiler-flags="-w" /> |
82 | 68 |
|
83 | | - <header-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.h" /> |
84 | | - <source-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" |
85 | | - compiler-flags="-w -DSQLITE_THREADSAFE=2 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=1024" /> |
86 | | - </platform> |
87 | | - |
88 | | - <!-- windows --> |
89 | | - <platform name="windows"> |
90 | | - <js-module src="src/windows/sqlite-proxy.js" name="SQLiteProxy"> |
91 | | - <runs /> |
92 | | - </js-module> |
93 | | - |
94 | | - <!-- SQLite3 JS module from SQLite3-WinRT/SQLite3JS: --> |
95 | | - <js-module src="src/windows/SQLite3-Win-RT/SQLite3JS/js/SQLite3.js" name="SQLite3"> |
96 | | - <runs /> |
97 | | - </js-module> |
98 | | - |
99 | | - <!-- Thanks to AllJoyn-Cordova / cordova-plugin-alljoyn for guidance: --> |
100 | | - <framework src="src/windows/SQLite3-Win-RT/SQLite3/SQLite3.UWP/SQLite3.UWP.vcxproj" custom="true" type="projectReference" versions="10.*" /> |
101 | | - <!-- Windows 8.1 / Windows Phone 8.1 not tested, not supported in this version branch: |
102 | | - <framework src="src/windows/SQLite3-Win-RT/SQLite3/SQLite3.Windows/SQLite3.Windows.vcxproj" custom="true" type="projectReference" target="windows" versions="8.1" /> |
103 | | - <framework src="src/windows/SQLite3-Win-RT/SQLite3/SQLite3.WindowsPhone/SQLite3.WindowsPhone.vcxproj" custom="true" type="projectReference" target="phone" versions="8.1" /> |
104 | | - --> |
| 69 | + <framework src="libsqlite3.dylib" /> |
105 | 70 | </platform> |
106 | 71 |
|
107 | 72 | </plugin> |
|
0 commit comments