Filechoser plugin

Hi, I am using filechoser/filetransfer plugin to upload a music to my backend.
However after the function is triggered, I am able to select a file but then my app crashed and restart completely.
Anyone has ever encouuntered this behavior? I’ve literally put the code from the documentation to test :

import { FileChooser } from '@ionic-native/file-chooser/ngx';

    private fileChooser: FileChooser,

  chooseFile() {
      .then(uri => alert(uri))
      .catch(e => alert(e));