You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/09/21 23:51:00 UTC

[jira] [Closed] (CB-12342) Media capture plugin: Create method to check if audio recording app installed

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

jcesarmobile closed CB-12342.
-----------------------------
    Resolution: Won't Fix

it will return a certain error code, catch the error, check the code and if it's the one assigned to no app, then use cordova-plugin-media to record, or just use that one

> Media capture plugin: Create method to check if audio recording app installed
> -----------------------------------------------------------------------------
>
>                 Key: CB-12342
>                 URL: https://issues.apache.org/jira/browse/CB-12342
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-media-capture
>            Reporter: Dani Palou
>            Priority: Minor
>
> Some Android devices don't have any app to record audio by default. This means that using _captureAudio_ will always fail.
> It would be nice to have a method to check if there is an app to record audio installed (all devices should have the camera, so it wouldn't be needed for video/image). With this method the apps would be able to hide the record audio feature if it's not available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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