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

captureImage generates run-time error on browser platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      When using `cordova-plugin-media-capture` (v3.0.1) on the browser platform (5.0.3), with cordova CLI at 8.0.0, then calling `navigator.device.capture.captureImage`, the image is captured and displayed, but then when the user clicks on the image to confirm the capture, a JS run-time error happens:

      TypeError: this._previewStream.stop is not a function
      

      See attached image for more information.

      Attachments

        Activity

          People

            Unassigned Unassigned
            torazaburo Bob Myers
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: