I get the following error:
ReferenceError: FileTransfer is not defined
when i try to create a new instance:
var ft = ne
Did you add the 'file' or 'file-transfer' plugin?
The Filetransfer plugin is a separate plugin, and you need to add both of them:
cordova plugin add cordova-plugin-file-transfer
Otherwise, the 'FileTransfer' is indeed not defined.