You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/06/23 06:23:12 UTC

[GitHub] [cordova-plugin-camera] Barry1990 commented on issue #783: camera.getPicture() with FILE_URI destination returns invalid/unexpected image URI

Barry1990 commented on issue #783:
URL: https://github.com/apache/cordova-plugin-camera/issues/783#issuecomment-1164000437

   if (this.targetHeight == -1 && this.targetWidth == -1 &&
                           destType == FILE_URI && !this.correctOrientation 
                           **&&   getMimetypeForEncodingType().equalsIgnoreCase(mimeTypeOfGalleryFile))**
                   {
                       this.callbackContext.success(finalLocation);
                   } 
   
   
   &&   getMimetypeForEncodingType().equalsIgnoreCase(mimeTypeOfGalleryFile)) 把这个判断去掉 强制走if条件


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org