You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/02/09 22:56:18 UTC

[jira] [Updated] (CB-10223) Camera.getPicture returns null in SuccessCallback if using video from iCloud

     [ https://issues.apache.org/jira/browse/CB-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omar Mefire updated CB-10223:
-----------------------------
    Assignee:     (was: Omar Mefire)

> Camera.getPicture returns null in SuccessCallback if using video from iCloud
> ----------------------------------------------------------------------------
>
>                 Key: CB-10223
>                 URL: https://issues.apache.org/jira/browse/CB-10223
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 5.2.0
>         Environment: iOS 9.1, iphone 5
>            Reporter: Mikle
>            Priority: Minor
>              Labels: ios, triaged
>
> When client tries to upload video from his iCloud he gets null in SuccessCallback. It is really frustrating that user can see videos from iCloud but plugin can not get path of remote video. Probably if there is video that plugin can see but cant get file_uri of that video it would be great idea that user should not see this video at all. Here is my code example:
> {code:javascript}
> function onSuccess(videoURI) {
>     alert('videoURI:' + videoURI)
> // here i get null 
>     if (device.platform === 'iOS'){
>        
>     }else{
>         /**
>          * Android branch
>          *
>          */
>  
>     }
> }
> navigator.camera.getPicture(onSuccess, deferred.reject, {
>     quality: 90,
>     destinationType: Camera.DestinationType.FILE_URI,
>     sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
>     mediaType: Camera.MediaType.VIDEO
> });
> {code}
> Plugin version is 1.2.0



--
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