Nota ni bakal dikemaskini~ Gunakan plugin - camera - file - webview - domsanitizer const options : CameraOptions = { quality : 70 , destinationType : this . camera . DestinationType . FILE_URI , encodingType : this . camera . EncodingType . JPEG , sourceType : this . camera . PictureSourceType . CAMERA , mediaType : this . camera . MediaType . PICTURE , allowEdit : true , targetWidth : 500 , targetHeight : 500 , saveToPhotoAlbum : true } const tempImage = this . camera . getPicture ( options ). then (( imageData ) => { var tempFilename = imageData . substr ( imageData . lastIndexOf ( '/' ) + 1 ); tempFilename = tempFilename . substr ( 0 , tempFilename . lastIndexOf ( "?" )); var tempBaseFilesystemPath = imageData . substr