Hello, we are in process of upgrading out mobile apps from MABS version 11.2 to version 12.0. In the upgrade we decided to update all of our plugins to the latest version. This one the File Transfer Plugin we upgraded from version 2.1.7 to the most recent version 3.1.1
Doing so we are using the DEPRECATED_CheckFileTransferPlugin and DEPRECATED_DownloadFile actions in some branches of our logic so the old versions of our apps already installed on devices will still function properly.
The DEPRECATED_CheckFileTransferPlugin plugin is returning false on the 11.2 MABS app even though the older version of the plugin is available on the device. It looks to be a bug in the PluginIsLoaded client action in the module. I see were a re checking
"if( typeof(cordova.plugins.FileTransfer) !== "undefined")" but that seems incorrect because it never goes to the true branch. it works if we just check "if( typeof(FileTransfer) !== "undefined")" without "cordova.plugins." prepended.
If that is there for another reason the logic will never get down into the second else if where we do check the FileTransfer object the old way.
This is preventing us from using any of the deprecated actions. Can we get some assistance with this please.
Hi Douglas,
As this is a supported plugin, can I ask you open a support ticket so that this can be tracked and assigned to the team for fixing in case of a bug?
Thank you
Thank you! I just logged one.