I get the following error:
ReferenceError: FileTransfer is not defined
when i try to create a new instance:
var ft = ne
Run the following commands in your phonegap project. And it should resolve the issue on your next build.
Access files on device or network (File API):
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
See PhoneGap API Documentation - The Command-line Interface for a list of the plugins.