Cordova plugin file transfer plugin error

Hi Team,

I’m facing an error of cordova-plugin-file-transfer@1.7.1

UserError: /Users/agent04/Code/VoltBuilder/upload/2f4f8cf2-d524-4dd8-9e76-1af855014f9a/platforms/ios/Keystone/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:107:49: error: no known instance method for selector ‘userAgent’ Plugin cordova-plugin-file-transfer has been deprecated by its author. See https://www.npmjs.com/package/cordova-plugin-file-transfer/

Have another look at the message. It says the plugin is deprecated by its author, which means you should not be using it anymore.

The link in the message gives more information and how to work around it.