[
https://issues.apache.org/jira/browse/CB-12882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergii Stotskyi updated CB-12882:
---------------------------------
Description:
*Steps to reproduce*:
# Create a simple application which calls `captureVideo()` method
# Deploy application to real device
# Click on button which starts video capturing
# Click "No" when it asks permissions for camera
*Expected result*:
camera picker is animated out. And every time when user clicks on capture video
alert is shown as in `cordova-plugin-camera`: Access to the camera has been
prohibited, please enable it in the Settings app to continue. And 2 buttons are
shown: OK, Settings
*Actual result*:
camera picker is not hidden. It's possible to click on record button and record
black screen. Eventually video is saved and viewed
was:
*Steps to reproduce*:
# Create a simple application which calls `captureVideo()` method
# Deploy application to real device
# Click on button which starts video capturing
# Click "No" when it asks permissions for camera
*Expected result*:
camera picker is animated out. And every time when user clicks on capture video
alert is shown as in `cordova-plugin-camera`: Access to the camera has been
prohibited, please enable it in the Settings app to continue. And 2 buttons are
shown: OK, Settings
*Actual result*:
camera picker is not hidden. It's possible to click on record button and record
black screen. Eventually video is saved and viewed
*Pull request*: https://github.com/apache/cordova-plugin-media-capture/pull/79
> captureVideo doesn't close camera picker and doesn't show alert message about
> prohibited camera usage
> -----------------------------------------------------------------------------------------------------
>
> Key: CB-12882
> URL: https://issues.apache.org/jira/browse/CB-12882
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-media-capture
> Affects Versions: 1.4.2
> Reporter: Sergii Stotskyi
> Labels: ios
>
> *Steps to reproduce*:
> # Create a simple application which calls `captureVideo()` method
> # Deploy application to real device
> # Click on button which starts video capturing
> # Click "No" when it asks permissions for camera
> *Expected result*:
> camera picker is animated out. And every time when user clicks on capture
> video alert is shown as in `cordova-plugin-camera`: Access to the camera has
> been prohibited, please enable it in the Settings app to continue. And 2
> buttons are shown: OK, Settings
> *Actual result*:
> camera picker is not hidden. It's possible to click on record button and
> record black screen. Eventually video is saved and viewed
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]