You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bob Myers (JIRA)" <ji...@apache.org> on 2018/01/11 19:36:01 UTC

[jira] [Updated] (CB-13776) captureImage generates run-time error on browser platform

     [ https://issues.apache.org/jira/browse/CB-13776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Myers updated CB-13776:
---------------------------
    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:

{code}
TypeError: this._previewStream.stop is not a function
{code}

See attached image for more information.

  was:
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 the user then clicks on the image to confirm the capture, a JS run-time error happens:

{code}
TypeError: this._previewStream.stop is not a function
{code}

See attached image for more information.


> captureImage generates run-time error on browser platform
> ---------------------------------------------------------
>
>                 Key: CB-13776
>                 URL: https://issues.apache.org/jira/browse/CB-13776
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media-capture
>            Reporter: Bob Myers
>         Attachments: NIMS App - Google Chrome 2018-01-11 23.57.10.png
>
>
> 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:
> {code}
> TypeError: this._previewStream.stop is not a function
> {code}
> See attached image for more information.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org