@Lifistic wrote:
Hi,
i’ve got an issue with cordova file transfer plugin. I followed the instructions here :
but even by using the simplest code which is given in Ionic documentation :
import { IOSFilePicker } from '@ionic-native/file-picker/ngx'; constructor(private filePicker: IOSFilePicker) { } this.filePicker.pickFile() .then(uri => console.log(uri)) .catch(err => console.log('Error', err));
I keep on getting this error :
ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function TypeError: Object(...) is not a function at IOSFilePicker.pickFile (index.js:27)
any idea ?
thx
Posts: 1
Participants: 1