cordova-plugin-ionic-webview icon indicating copy to clipboard operation
cordova-plugin-ionic-webview copied to clipboard

Image not rendered in Ios

Open NirojMaharjan opened this issue 3 years ago • 0 comments

I have tried all the suggestions mentioned and still cannot render Image in IOS. Can I have have some insights on this my code is mentioned below.

private copyFileToLocalDir(namePath, currentName, newFileName) { this.file.copyFile(namePath, currentName, cordova.file.dataDirectory, newFileName).then(success => { this.lastImage = newFileName; if (!this.images || this.images.length == 0) { this.images = []; } this.images.push(this.pictureService.pathForImage(newFileName)); this.machineService.setImages(this.images); }, error => { console.log('copyFileToLocalDir', error); this.showAlert('Error while storing file.'); }); }

NirojMaharjan avatar Sep 24 '20 08:09 NirojMaharjan