[ https://issues.apache.org/jira/browse/CB-12371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-12371. ----------------------------- Resolution: Incomplete Assignee: jcesarmobile Closing as there is no enough information to reproduce and no more information was provided after being asked. Feel free to reopen if you can provide more information > "Selection Cancelled" error > --------------------------- > > Key: CB-12371 > URL: https://issues.apache.org/jira/browse/CB-12371 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 2.3.0 > Reporter: Aurelio Merenda > Assignee: jcesarmobile > > Hello and congratulation for your cordova-plugin-camera! > I have an issue with getPicture() call: it works most of the time, but, when > it don't works, it returns a message "Selection cancelled". > This is my code: > if(window.cordova && navigator && navigator.camera){ > // convertImage is a my method to manage image, it works > navigator.camera.getPicture(convertImage, function(message){ > // message is "Selection cancelled" > }, { > quality: 70, > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > allowEdit: false, > targetWidth: 1024, > targetHeight: 1024, > encodingType: Camera.EncodingType.JPEG, > mediaType: Camera.MediaType.PICTURE > }); > } > PS I have 2.3.1 version of cordova-plugin-camera, but I don't found it on > JIRA version field. > Thanks, > Aurelio Merenda -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org