From 4f96e47c1dc8092f0a6c39ccae42da1af903bee6 Mon Sep 17 00:00:00 2001 From: Taras Omelchuk Date: Tue, 24 May 2022 15:52:54 +0300 Subject: [PATCH] FileTransfer plugin v1.3.0 - Added support for Ionic Capacitor --- package.json | 4 ++-- plugin.xml | 6 +++--- src/ios/CDVFileTransferBD.m | 7 ++++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 87628f2..0e5cb80 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-bbd-file-transfer", - "version": "1.2.0", + "version": "1.3.0", "description": "BlackBerry Dynamics Cordova File Transfer Plugin", "types": "./types/index.d.ts", "license": "SEE LICENSE IN LICENSE", @@ -14,7 +14,7 @@ }, "repository": { "name": "cordova-plugin-bbd-file-transfer", - "version": "1.2.0", + "version": "1.3.0", "private": true, "type": "git", "url": "https://github.com/blackberry/BlackBerry-Dynamics-Cordova-Plugins/tree/file-transfer" diff --git a/plugin.xml b/plugin.xml index bf58148..6c4cf5a 100755 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ - + cordova-plugin-bbd-file-transfer BlackBerry Dynamics Cordova File Transfer Plugin SEE LICENSE IN LICENSE @@ -35,7 +35,7 @@ Original Cordova FileTransfer plugin link: https://github.com/apache/cordova-plugin-file-transfer - + diff --git a/src/ios/CDVFileTransferBD.m b/src/ios/CDVFileTransferBD.m index 2abefcd..8b842f2 100755 --- a/src/ios/CDVFileTransferBD.m +++ b/src/ios/CDVFileTransferBD.m @@ -1,5 +1,5 @@ /* - Copyright (c) 2021 BlackBerry Limited. All Rights Reserved. + Copyright (c) 2022 BlackBerry Limited. All Rights Reserved. Some modifications to the original Cordova FileTransfer plugin from https://github.com/apache/cordova-plugin-file-transfer/ @@ -31,7 +31,12 @@ Licensed to the Apache Software Foundation (ASF) under one #import #import + +#ifdef BBD_CAPACITOR +#import "GDCordovaLogger.h" +#else #import +#endif #ifndef DLog #ifdef DEBUG