You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "David Esperalta (JIRA)" <ji...@apache.org> on 2017/08/14 15:26:00 UTC

[jira] [Updated] (CB-13176) The captureVideo do not ask for user permissions

     [ https://issues.apache.org/jira/browse/CB-13176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Esperalta updated CB-13176:
---------------------------------
    Description: 
Hello to all,

First of all thanks for reading this and thanks for the Apache Cordova project and all their related plugins.

I am not quite sure if this is an issue, but, after searching for information (without lucky) and try by myself several times, I think is really an issue.

The problem is the following:

1º Trying to capture a video for the very first time from the application is installed, the appropiate permissions dialog is not appear, and, even when we can record a video, we can't then obtain their full path, in my case in order to be converted to a blob to be upload later.

2º If first of all we try to capture an audio, then yes, the plugin ask for the appropiate permissions, and, if we press "Ok", then the audio capture works as expected, but also the video capture works as expected, since the permissions are granted by the app's user.

In my opinion the video capture, in the same way than the audio capture, must ask for the appropiate permissions from the user, because in other way the video capture, even when can be made... fail in the sense that we can't get the recorded video file path.

Hope this are certainly an issue and anyone can tell me a possible workaround or something like that. If you think that more information are required, please, just contact with me and I will try to provide all other required information as quickly as possible.

Thanks very much in advance!

David Esperalta

  was:
Hello to all,

First of all thanks for reading this and thanks for the Apache Cordova project and all their related plugins.

I am not quite sure if this is an issue, but, after searching for information (without lucky) and try by myself several times, I think is really an issue.

The problem is the following:

1º Trying to capture a video for the very first time from the application is installed, the appropiate permissions dialog is not appear, and, even when we can record a video, we can't then obtain their full path, in my case in order to be converted to a blob to be upload later.

2º If first of all we try to capture an audio, then yes, the plugin ask for the appropiate permissions, and, if we press "Ok", then the audio capture works as expected, but also the video capture works as expected, since the permissions are granted by the app's user.

In my opinion the video capture, in the same way than the audio capture, must ask for the appropiate permissions from the user, because in other way the video capture, even when can be made... fail in the sense that we can't get the recorded video file path.

Hope this are certainly an issue and anyone can tell me a possible workaround or something like that. If you think that more information are required, please, just contact with me and I will try to provide all other required information as quickly as possible.

Thanks very much in advance!



> The captureVideo do not ask for user permissions
> ------------------------------------------------
>
>                 Key: CB-13176
>                 URL: https://issues.apache.org/jira/browse/CB-13176
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media-capture
>         Environment: Microsoft Windows 10
> Apache Cordova 6.2.3
> Media Capture Plugin 1.4.3
> Other plugins in the app too:
> cordova-plugin-compat
> cordova-plugin-camera
> cordova-plugin-dialogs
> cordova-plugin-file
> cordova-plugin-file-transfer
> cordova-plugin-geolocation
> cordova-plugin-inappbrowser
> cordova-plugin-network-information
> cordova-plugin-screen-orientation
> cordova-plugin-splashscreen
> cordova-plugin-statusbar
> cordova-plugin-whitelist
> es6-promise-plugin
> phonegap-plugin-push
> com-sarriaroman-photoviewer
> Tested on an Samsung Galaxy A3 2016 with Android 6.0.1
>            Reporter: David Esperalta
>              Labels: permissions, video
>
> Hello to all,
> First of all thanks for reading this and thanks for the Apache Cordova project and all their related plugins.
> I am not quite sure if this is an issue, but, after searching for information (without lucky) and try by myself several times, I think is really an issue.
> The problem is the following:
> 1º Trying to capture a video for the very first time from the application is installed, the appropiate permissions dialog is not appear, and, even when we can record a video, we can't then obtain their full path, in my case in order to be converted to a blob to be upload later.
> 2º If first of all we try to capture an audio, then yes, the plugin ask for the appropiate permissions, and, if we press "Ok", then the audio capture works as expected, but also the video capture works as expected, since the permissions are granted by the app's user.
> In my opinion the video capture, in the same way than the audio capture, must ask for the appropiate permissions from the user, because in other way the video capture, even when can be made... fail in the sense that we can't get the recorded video file path.
> Hope this are certainly an issue and anyone can tell me a possible workaround or something like that. If you think that more information are required, please, just contact with me and I will try to provide all other required information as quickly as possible.
> Thanks very much in advance!
> David Esperalta



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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