[ 
https://issues.apache.org/jira/browse/CB-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212470#comment-15212470
 ] 

ASF GitHub Bot commented on CB-4078:
------------------------------------

Github user swbradshaw commented on the pull request:

    
https://github.com/apache/cordova-plugin-camera/pull/197#issuecomment-201534121
  
    @riknoll - Can you clarify? 
    
    Are you referring to the apps that have implement the DocumentsProvider 
interface that show up on the unified UI picker on 4.4+ devices?   If so, I 
tested the default picker provided by Android. If you try to test another 3rd 
party one, it doesn't work. This doesn't work in the master branch, either. 
This is due to a bug with the "ouputModifiedBitmap"  function where it won't 
correctly generate a filename when the user picks a path that comes back from a 
3rd party URI returned by Android's DocumentProvider. This push request isn't 
addressing that issue, but I can certainly fix that one as well if its been 
logged.  (The spelling error in that function name is driving me crazy, too).
    
    OR are you referring to pre-4.4 devices that prompt the user to pick an app 
to choose an image from?  If this is the case, the code should handle these the 
same way it has done in the past.



> correctOrientation is not working on camera.getPicture for PHOTOLIBRARY 
> (works with Camera)
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-4078
>                 URL: https://issues.apache.org/jira/browse/CB-4078
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.9.0
>         Environment: Android
>            Reporter: aligo
>            Priority: Minor
>              Labels: Android, Triaged
>
> Hi
> I use cameraOptions below to get the FILE_URI and to display in <img> tag:
> {code}
>       correctOrientation: true
>       quality: 50
>       encodingType: Camera.EncodingType.JPEG
>       targetWidth: 300
>       targetHeight: 300
>       destinationType: window.navigator.camera.DestinationType.FILE_URI
>       sourceType: window.navigator.camera.PictureSourceType.PHOTOLIBRARY
> {code}
> But the picture displayed within wrong orientation.
> Updated:
> I try use window.navigator.camera.PictureSourceType.CAMERA in sourceType, and 
> everything work as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to