Skip to content

Camera does not open on android file input with capture attribute. #808

Open
@ReneDyhr

Description

@ReneDyhr

Bug Report

Problem

When I click an file input, it should make me able to use camera as a input.

What is expected to happen?

When I click the file input with capture= attribute, it should open camera.

What does actually happen?

It opens file manager instead.

Information

Just have a normal file input where you can add capture attribute.
It should then open camera up for the user, but it always open the file manager.

This problem only occurs on Android though, iOS works fine.

Environment, Platform, Device

Android

Version information

Cordova: Cordova CLI 10.0.0.
cordova-android "^9.0.0",
cordova-ios "^5.1.1",
cordova-plugin-camera "^4.1.0",
cordova-plugin-device "^1.1.7",
cordova-plugin-file-transfer "^1.7.1",
cordova-plugin-inappbrowser "^4.0.0",
cordova-plugin-migrate-localstorage "0.0.2",
cordova-plugin-wkwebview-engine "^1.2.1",
cordova-plugin-wkwebview-file-xhr "^2.1.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions