[ https://issues.apache.org/jira/browse/CB-10270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141578#comment-15141578 ]
ASF GitHub Bot commented on CB-10270: ------------------------------------- Github user shahin8r commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/160#issuecomment-182563046 This doesn't seem to fix empty string for videos (mediaType: 1) but is working fine on photos. > camera.getPicture() returns an empty string > ------------------------------------------- > > Key: CB-10270 > URL: https://issues.apache.org/jira/browse/CB-10270 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 2.1.0 > Environment: Android 4.4.2 (api 19) > Reporter: Alexander Sorokin > Assignee: Richard B Knoll > Labels: android, reproduced, triaged > Attachments: mobilespec-camera.7z > > > Code sample to reproduce: > {code} > navigator.camera.getPicture(onSuccess, onFail, { > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > correctOrientation: true > }); > {code} > {{onSuccess}} is called with an empty string as an argument. > if {{correctOrientation}} is {{false}}, everything works 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