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

Andrew Gibson commented on CB-6761:
-----------------------------------

I had this issue with Cordova 2.9.1 (on a Samsung Galaxy Tab 2 10.1 running 
Android 4.1.1).

It looks like this fix (along with that for CB-6047) could be backported to 
2.9.1. Does that sound reasonable? I tried and it seems to work, but I wasn't 
sure whether I'd need to backport other changes from 3.x.

I am considering upgrading to the latest version of Cordova anyway. Does anyone 
know when this fix will be available in an official release?


> Calling a function the first time no callbacks are being executed
> -----------------------------------------------------------------
>
>                 Key: CB-6761
>                 URL: https://issues.apache.org/jira/browse/CB-6761
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 3.5.0
>         Environment: Nexus 5, Android 4.4.2
>            Reporter: Roy Ackermann
>            Assignee: Andrew Grieve
>            Priority: Blocker
>              Labels: bridge, callback, function
>
> Using different functions the same error occurs. Calling a function the first 
> time no callbacks are being executed. There is no error in the log. Using the 
> same function again for a second call, everything works fine. Now the first 
> call is being executed as well and I receive the callback from the first 
> excution.
> It looks like something is wainting. It is odd that the second call works and 
> executes the first call as well.
> I found this bug on this calls:
> - window.requestFileSystem(LocalFileSystem.PERSISTENT, 3097152, gotFS, fail);
> - navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { 
> targetWidth: 1200, targetHeight: 1200, quality: 55, destinationType: 
> Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true, 
> correctOrientation:true});
> - navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 
> 1000,targetHeight: 1000, quality: 65, destinationType: 
> Camera.DestinationType.FILE_URI  , saveToPhotoAlbum: false ,  sourceType: 
> Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true});



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to