1

My copy File function is here:

 copyFileToLocalDir(namePath, currentName, newFileName) {
    debugger;
    this.file.copyFile(namePath, currentName, this.file.externalDataDirectory, newFileName).then(
      success => {
        debugger;
        this.updateStoredImages(newFileName);
        // this.presentToast('Success while storing file.');
      },
      error => {
        console.log(error);
        // this.presentToast('Error while storing file.');
      });
  }

Please help me to solve this issue

0 Answers0