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

"cordova-plugin-camera" 2.1.1 CameraUsesGeolocation preference causes camera to crash iOS app

    XMLWordPrintableJSON

    Details

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

      Description

      this is my full test code

      =====
      navigator.camera.getPicture(cameraSuccess, cameraError, null);
      function cameraSuccess()

      { alert("Camera success.") }

      function cameraError(message)

      { alert('Failed because: ' + message); }

      =====

      step1,I use "navigator.camera.getPicture"
      step2,it will appear a camera interface and I press the take photo button
      step3,click the "use the photo" button
      step4,it will back to my original app,but after 1-2 seconds,shut down immediately

      Android have no this problem,and it will trigger the "cameraSuccess" callback

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omefire Omar Mefire
                Reporter:
                bau720123 Colin Bau
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: