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

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • None
    • cordova-plugin-camera

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment