provider code:
initCamera() {
this.options = {
quality: 100,
sourceType: this.camera.PictureSourceType.CAMERA,
destinationType: this.camera.DestinationType.DATA_URL,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
targetWidth: 1000,
targetHeight: 1000
}
}
getPicture() {
this.camera.getPicture(this.options).then((imageData) => {
//header is the standard base64 header
this.base64Image = this.imgHeader + imageData;
}, (err) => {
});
}
in html:
I give base64Image to img src
It can work pefectly in android and browser, but ios shows blank
error from Xcode:
Xperience[14195:918706] [discovery] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 “query cancelled” UserInfo={NSLocalizedDescription=query cancelled}