Filechoser plugin

Hi, I am using filechoser/filetransfer plugin to upload a music to my backend.
However after the fileChooser.open 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';

  constructor(   
    private fileChooser: FileChooser,
)

  chooseFile() {
    this.fileChooser.open()
      .then(uri => alert(uri))
      .catch(e => alert(e));
  }```