You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/09/09 18:27:45 UTC

[jira] [Commented] (CB-9633) iOS Taking a Picture With Option destinationType:NATIVE_URI Doesn't Show Image

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

Sergey Grebnov commented on CB-9633:
------------------------------------

Stable repro if I use Camera as a source. This is due to the following code which returns nil as uri

https://github.com/apache/cordova-plugin-camera/blob/master/src/ios/CDVCamera.m#L434

Looks like this nil in this case is expected as picture is stored in memory in this case. We should update the code to check if uri is nil and save it to device storage before reporting result back

http://stackoverflow.com/a/13112803

> iOS Taking a Picture With Option destinationType:NATIVE_URI Doesn't Show Image
> ------------------------------------------------------------------------------
>
>                 Key: CB-9633
>                 URL: https://issues.apache.org/jira/browse/CB-9633
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Camera
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: cordova-plugin-camera, ios
>
> Capturing an image from Camera with destinationType set to NATIVE_URI results in a broken image.



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

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