ionic-team / ionic-team/cordova-plugin-ionic-webview
Image not rendered in Ios
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
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.');
});
}
Contributor guide
Assessment
This issue has not been assessed yet.