I want to share file using social sharing plugin but it not working

get() {
this.platform
.ready()
.then(() => {
return this.file.resolveDirectoryUrl(this.file.dataDirectory);
})
.then((rootDir) => {
return this.file.getFile(rootDir, “mycon.vcf”, { create: false });
})
.then((fileEntry) => {
console.log(“con fileEntry”, fileEntry);
this.getFile2 = fileEntry;

    fileEntry.file((file) => {
      console.log(file);
      this.getFile = file;
     
    });
  });

}

sharebtnsfunc() {
console.log(“share btn”);

var options = {
  message: "test massage",
  file: this.getFile,
};

let mass = "test";
console.log("share op,", options);
this.socialSharing.shareWithOptions(options);

}