Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13652

Inappbrowser doesn't support 'camera' option when I can 'choose file'

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • cordova-ios 4.5.0
    • None
    • None
    • Android 5.1

    Description

      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.

      Attachments

        1. Screenshot_2017-12-10-10-03-26.png
          120 kB
          Corneel den Hartogh
        2. Screenshot_2017-12-10-10-01-45.png
          268 kB
          Corneel den Hartogh
        3. Screenshot_2017-12-10-10-01-25.png
          87 kB
          Corneel den Hartogh
        4. Screenshot_2017-12-10-10-01-15.png
          144 kB
          Corneel den Hartogh

        Activity

          People

            Unassigned Unassigned
            CorneeldH Corneel den Hartogh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: