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

Corneel den Hartogh commented on CB-13652:
------------------------------------------

[~Sujan12]
It didn't solve my problem.

Well, I want to use the camera from within the app so I added the camera plugin 
(to be sure, I added it via command line and after his the line ended up in the 
config.xml and with plugins folder there is a camera plugin folder now). I 
expected the app would require camera-permission and, in addition, would show 
the option to use camera at 'choose file'. 

Then I saw it didn't ask for permission and with iOS I hand to manually update 
the info.plist. So I google to permission regarding camera on Android and 
found: 
https://stackoverflow.com/questions/39148355/add-android-permission-camera-with-cordova

I understand it is not a real 'solution' that I fully expected to work, but I 
mentioned it to make sure this wouldn't be first suggestion. 

--
I would expect that installing the plugin would be enough, or that if there 
would be quirks (like with iOS) that they would be mentioned on the git. Hence 
my question whether this is a known bug

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to