[
https://issues.apache.org/jira/browse/CB-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643700#comment-14643700
]
ASF GitHub Bot commented on CB-9151:
------------------------------------
Github user purplecabbage commented on the pull request:
https://github.com/apache/cordova-plugin-camera/pull/110#issuecomment-125397586
This seems to work, but perhaps removing the listener on the first call
would be a better approach.
Also, I assume I can button mash the cancel button and get the same effect.
> Fix app crash on repeated take picture via camera plugin on Windows Phone 8.1
> -----------------------------------------------------------------------------
>
> Key: CB-9151
> URL: https://issues.apache.org/jira/browse/CB-9151
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Environment: Windows Phone 8.1, windows platform
> Reporter: Sergey Shakhnazarov
> Assignee: Murat Sutunc
>
> Tapping twice on camera preview gives such an error:
> Exception is about to be caught by JavaScript library code at line 443,
> column 21 in
> ms-appx://io.cordova.myapp9a1f58af41d240d79016f68247e6f82c/www/plugins/cordova-plugin-camera/src/windows/CameraProxy.js
> 0xc00d36b2 - JavaScript runtime error: The request is invalid in the current
> state.
> Started
> WinRT information: Started
> If there is a handler for this exception, the program may be safely continued.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]