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

navigator.camera.getPicture returns undefined instead of CameraPopoverHandle object

    XMLWordPrintableJSON

    Details

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

      iOS

    • Flags:
      Important

      Description

      The camera plugin documentation describes that you can control the camera popover when device orientation changes, I tried the example but is is not working, so I went to the code to see what is happening and noticed that the navigator.camera.getPicture function doesn't return anything because the lines that returns the CameraPopoverHandle object are commented out.

      So I uncommented them to test but the issue is still happening, there is something wrong in the native code.

      My test was on real iPad iOS 9.3.2 and on iOS simulator with iOS 8.4

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcesarmobile jcesarmobile
                Reporter:
                yazeed.fares Yazeed Fares
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: