[ https://issues.apache.org/jira/browse/CB-5131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-5131. ---------------------------- Resolution: Won't Fix Assignee: jcesarmobile Closing this as won't fix The issue is part of the webview's fault and fastclick, I also suffered it long time ago. Not sure if fastclick found a workaround or fixed it, but what I did was to use a class to not apply fastclick on the button that called the camera. Definitely not a Cordova issue > Callbacks are fired on the capture following the original capture when using > fastclick > -------------------------------------------------------------------------------------- > > Key: CB-5131 > URL: https://issues.apache.org/jira/browse/CB-5131 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 3.1.0 > Environment: Mac OSX, Samsung Galaxy S3, Android 4.1.1 > Reporter: Ben Ng > Assignee: jcesarmobile > Priority: Minor > Labels: android, bug, camera > > When running the example camera code from the docs (either with DATA_URL or > FILE_URI) on android, neither the success nor error callbacks get called > immediately after `.getPicture`. > However, if `.getPicture` is used again, the callback that should have fired > the last time now gets fired, instead of the expected callback. > So if I take a picture of A, nothing happens. If i now take a picture of B, I > get the picture of A. > Here is the stack trace from logcat: > https://gist.github.com/ben-ng/7064068 > Possibly related issue: > https://issues.apache.org/jira/browse/CB-5132?jql=project%20%3D%20CB%20AND%20resolution%20%3D%20Unresolved%20AND%20priority%20%3D%20Major%20ORDER%20BY%20key%20DESC > The same code works just fine on iOS. > Once fastclick.js is removed, the issue is resolved. -- 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