I’m developing an application with ionic and I’m trying to upload a photo , however I’m getting this weird error :
in ./MyApp class MyApp - inline template:0:0 caused by: FileTransfer is not defined
I’m using Transfer instead of Filetransfer and the weird thing is that when I remove it from the constructor (so my constructor would be like this :
(public camera : Camera ,public navCtrl: NavController, public navParams: NavParams, public http : HTTP , form : FormBuilder)
instead of :
(public tran : Transfer,public camera : Camera ,public navCtrl: NavController, public navParams: NavParams, public http : HTTP , form : FormBuilder)
the error disappear but of course I can’t use it so it’s useless