cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JonHerr <>
Subject [GitHub] cordova-plugin-media-capture pull request: fix for Cancel or back ...
Date Wed, 24 Feb 2016 19:41:45 GMT
GitHub user JonHerr opened a pull request:

    fix for Cancel or back button in Windows 8/10

    I made a slight change based on changes from another user. When the cancel or back button
is pressed the promise is completed and we get back that the param file is undefined. then
the code continues to execute the function moveAsync() on the undefined object causing an
error to be thrown. by checking if the file exists before we execute this command we can appropriately
return an error of CAPTURE_NO_MEDIA_FILES.

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #55
commit eaeba2db8832e465dbc4bf961e0c52b75aa1f1f9
Author: Jonathan Herr <>
Date:   2016-02-24T19:24:17Z

    fix for Cancel or back button in Windows 8/10


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message