diff --git a/LICENSE.md b/LICENSE similarity index 100% rename from LICENSE.md rename to LICENSE diff --git a/README.md b/README.md index c5d8cae..9429859 100755 --- a/README.md +++ b/README.md @@ -9,13 +9,13 @@ For more details please refer to the [com.good.gd.database](https://developer.bl ## Preconditions `cordova-plugin-bbd-sqlite-storage` is dependent on `cordova-plugin-bbd-base` and `cordova-plugin-bbd-file` plugins. -Installation -============ -To add this plugin to your application, run the following command in the project directory: -``` -$ cd /BlackBerry_Dynamics_SDK_for_Cordova_/plugins/cordovaApp -$ cordova plugin add git+https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins#sqlite-storage -``` +## Installation + +`cordova plugin add git+https://github.com/blackberry/blackberry-dynamics-cordova-plugins#sqlite-storage` + +## Uninstallation + +`cordova plugin rm cordova-plugin-bbd-sqlite-storage` ## Supported Platforms @@ -53,3 +53,11 @@ requestFileSystem(LocalFileSystem.APPKINETICS, 0, function(gdFileSystem) { }); }, null); ``` + +## License + +Apache 2.0 License + +## Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/package.json b/package.json index 535f79f..3fcf223 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-bbd-sqlite-storage", - "version": "1.0.0", + "version": "1.1.0", "description": "BlackBerry Dynamics Cordova Sqlite Storage Plugin", "license": "SEE LICENSE IN LICENSE", "homepage": "https://community.blackberry.com", @@ -12,10 +12,13 @@ ] }, "repository": { - "name": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/sqlite-storage", - "version": "1.0.0", - "private": true + "name": "cordova-plugin-bbd-sqlite-storage", + "version": "1.1.0", + "private": true, + "type": "git", + "url": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/sqlite-storage" }, + "bugs": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/sqlite-storage/issues", "keywords": [ "sqlite", "ecosystem:cordova", diff --git a/plugin.xml b/plugin.xml index 97ed1cf..9994f62 100755 --- a/plugin.xml +++ b/plugin.xml @@ -1,8 +1,32 @@ + + + + version="1.1.0"> cordova-plugin-bbd-sqlite-storage BlackBerry Dynamics Cordova Sqlite Storage Plugin @@ -10,13 +34,13 @@ cordova,plugin,sqlite - The SQLite Storage plugin is dependent on Base and Dynamics File plugins, so please make sure Base and File plugins are installed correctly. + The SQLite Storage plugin is dependent on Base plugin, so please make sure the Base plugin is installed correctly. Original Cordova SQLite Storage plugin link: https://github.com/xpbrew/cordova-sqlite-storage + url="git+https://github.com/blackberry/blackberry-dynamics-cordova-plugins#file" version="^1.1.0" /> diff --git a/src/ios/SQLitePluginBD.m b/src/ios/SQLitePluginBD.m index 9d1b7ce..d35fa51 100755 --- a/src/ios/SQLitePluginBD.m +++ b/src/ios/SQLitePluginBD.m @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 BlackBerry Limited. All Rights Reserved. + * Copyright (c) 2021 BlackBerry Limited. All Rights Reserved. * Some modifications to the original Cordova SQLite Storage plugin * from https://github.com/xpbrew/cordova-sqlite-storage/ * @@ -12,8 +12,8 @@ #import "SQLitePluginBD.h" -#import -#import +#import +#import // Defines Macro to only log lines when in DEBUG mode #ifdef DEBUG