diff --git a/README.md b/README.md index b50d9d4..e364723 100755 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ This plugin enables you to securely upload and download files within the BlackBe ## Preconditions `cordova-plugin-bbd-file-transfer` 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#file-transfer -``` +## Installation + +`cordova plugin add git+https://github.com/blackberry/blackberry-dynamics-cordova-plugins#file-transfer` + +## Uninstallation + +`cordova plugin rm cordova-plugin-bbd-file-transfer` ## Supported Platforms @@ -23,3 +23,11 @@ $ cordova plugin add git+https://github.com/blackberry/BlackBerry-Dynamics-Cordo ## Usage Please take a look at original examples of usage [here](https://github.com/apache/cordova-plugin-file-transfer#FileTransfer). + +## 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 f4e05d2..08e4ff2 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-bbd-file-transfer", - "version": "1.0.0", + "version": "1.1.0", "description": "BlackBerry Dynamics Cordova File Transfer Plugin", "types": "./types/index.d.ts", "license": "SEE LICENSE IN LICENSE", @@ -13,10 +13,13 @@ ] }, "repository": { - "name": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/file-transfer", - "version": "1.0.0", - "private": true + "name": "cordova-plugin-bbd-file-transfer", + "version": "1.1.0", + "private": true, + "type": "git", + "url": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/file-transfer" }, + "bugs": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/file-transfer/issues", "keywords": [ "cordova", "file", diff --git a/plugin.xml b/plugin.xml index e9d4be5..a2a06f0 100755 --- a/plugin.xml +++ b/plugin.xml @@ -23,7 +23,7 @@ under the License. --> - + cordova-plugin-bbd-file-transfer BlackBerry Dynamics Cordova File Transfer Plugin SEE LICENSE IN LICENSE @@ -36,7 +36,7 @@ + url="git+https://github.com/blackberry/blackberry-dynamics-cordova-plugins#file" version="^1.1.0" /> diff --git a/src/ios/CDVFileTransferBD.h b/src/ios/CDVFileTransferBD.h index f0a9e95..4b93129 100755 --- a/src/ios/CDVFileTransferBD.h +++ b/src/ios/CDVFileTransferBD.h @@ -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 FileTransfer plugin from https://github.com/apache/cordova-plugin-file-transfer/ @@ -24,7 +24,7 @@ #import #import #import "CDVFileBD.h" -#import +#import enum CDVFileTransferErrorBD { FILE_NOT_FOUND_ERR = 1, diff --git a/src/ios/CDVFileTransferBD.m b/src/ios/CDVFileTransferBD.m index f88f576..5579754 100755 --- a/src/ios/CDVFileTransferBD.m +++ b/src/ios/CDVFileTransferBD.m @@ -1,8 +1,8 @@ /* - Copyright (c) 2020 BlackBerry Limited. All Rights Reserved. + Copyright (c) 2021 BlackBerry Limited. All Rights Reserved. Some modifications to the original Cordova FileTransfer plugin from https://github.com/apache/cordova-plugin-file-transfer/ - + Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -10,9 +10,9 @@ Licensed to the Apache Software Foundation (ASF) under one to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -30,7 +30,7 @@ Licensed to the Apache Software Foundation (ASF) under one #import #import -#import +#import #import #ifndef DLog