You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2017/12/09 15:33:00 UTC

[jira] [Commented] (CB-13652) Inappbrowser doesn't support 'camera' option when I can 'choose file'

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

Jan Piotrowski (Sujan) commented on CB-13652:
---------------------------------------------

{quote}
 I have added the following lines to the androidmanifest.xml

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

and added the camera plugin (in config.xml):

<plugin name="cordova-plugin-camera" spec="^3.0.0" />
{quote}
Does this solve your problem?
Why do you think it would or should? Source for that?

> Inappbrowser doesn't support 'camera' option when I can 'choose file'
> ---------------------------------------------------------------------
>
>                 Key: CB-13652
>                 URL: https://issues.apache.org/jira/browse/CB-13652
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: cordova-ios 4.5.0
>         Environment: Android 5.1
>            Reporter: Corneel den Hartogh
>
> If open an url in Chrome on my Android device and there is a 'choose file' in the link, clicking on this result in 'choose action' where I have several options including 'camera' and 'documents'.
> Same url in the inappbrowser gives me immediately the 'documents'-selection. I have added the following lines to the androidmanifest.xml
>     <uses-permission android:name="android.permission.CAMERA" />
>     <uses-feature android:name="android.hardware.camera" />
> and added the camera plugin (in config.xml):
>     <plugin name="cordova-plugin-camera" spec="^3.0.0" />
> I still have to test on iOS, but is this a known bug? And / or is there a workaround to get the possibility to select camera.



--
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