cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergii Stotskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12882) captureVideo doesn't close camera picker and doesn't show alert message about prohibited camera usage
Date Mon, 05 Jun 2017 11:03:04 GMT

     [ 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

*Pull request*: https://github.com/apache/cordova-plugin-media-capture/pull/79

  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


> 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
> *Pull request*: https://github.com/apache/cordova-plugin-media-capture/pull/79



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message