Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6761

Calling a function the first time no callbacks are being executed

    Details

      Description

      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}

        );

        Attachments

        1. sidemenu.tar.gz
          1.45 MB
          Zhang Zengbo

          Issue Links

            Activity

              People

              • Assignee:
                agrieve Andrew Grieve
                Reporter:
                roy_lecare Roy Ackermann
              • Votes:
                7 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: