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

App getting crash some times when i use take photo using navigator.camera.getPicture in iOS 7.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Environment:

      Cordova-2.4.0, Sencha touch 2.1.1, iOS-7.0, XCode-5.0
      iOS

      Description

      I am getting this crash in iOS 7 only. In iOS 6 it works fine. I used the following code for take photo.

      var destinationType=navigator.camera.DestinationType;
      navigator.camera.getPicture(this.caregiverPhotoSuccess, this.caregiverPhotoFail, {
           quality: 50,
           targetWidth:300,
           targetHeight:300,
           destinationType: destinationType.DATA_URL,
           sourceType:2,
           correctOrientation: true 
      });
      

      I am getting this error when app crash.
      Received memory warning.
      Plugin 'CDVCamera' has a pending operation, memory purge is delayed for didReceiveMemoryWarning.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kalyani8456 kalyani puvvada
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: