cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12882) captureVideo doesn't close camera picker and doesn't show alert message about prohibited camera usage
Date Tue, 06 Jun 2017 22:25:18 GMT

    [ https://issues.apache.org/jira/browse/CB-12882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039772#comment-16039772
] 

ASF GitHub Bot commented on CB-12882:
-------------------------------------

Github user filmaj commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-media-capture/pull/79#discussion_r120496517
  
    --- Diff: src/ios/CDVCapture.m ---
    @@ -292,6 +295,65 @@ - (CDVPluginResult*)processVideo:(NSString*)moviePath forCallbackId:(NSString*)c
         return [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsArray:fileArray];
     }
     
    +- (void)showAlertIfAccessProhibeted
    --- End diff --
    
    Can we change the function name to `showAlertIfAccessProhibited`, just for spelling, please?
:)


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message