Skip to content

[webview_flutter] camera not opening for (input type="file" capture="user" accept="image/*") #97127

@Shubhankt1

Description

@Shubhankt1

If I click on button with HTML tag <input type="file" capture="user" accept="image/*">, the file chooser activity starts on Android while camera opens directly on iOS (and in browser on a PC/Mac).

FYI: I had made changes in the package to accomodate file upload issue from HERE

Steps to Reproduce

  1. Run simple index.html with tag <input type="file" capture="user" accept="image/*"> in webview_flutter
  2. Try to click camera (capture)

Expected results: Directly camera intent should open to click the image

Actual results: File chooser intent opens up (Android) where again I have to click the camera option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.10Found to occur in 2.10found in release: 2.8Found to occur in 2.8has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions