androidjs icon indicating copy to clipboard operation
androidjs copied to clipboard

the browser file input does not do anything

Open KCGD opened this issue 4 years ago • 2 comments
trafficstars

Describe the bug I am using the html file input (https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_file) to choose a file on the system, but when clicking the button, nothing happens. No prompt comes up, no error is generated, simply nothing happens.

To Reproduce Steps to reproduce the behavior:

  1. make a button with the method and try to choose a file

Expected behavior I would expect a prompt to show up asking me where i would like to choose a file from (weather that be from the file explorer, camera etc, as shown here: image

in the app though, this prompt never shows up

Screenshots image

Desktop (please complete the following information):

  • Windows 10
  • Chrome stable
  • Androidjs version: 2.2.4

Smartphone (please complete the following information):

  • Razer phone 2
  • Android
  • Chrome / stock (same thing in this case)
  • Android 9

Additional context Add any other context about the problem here.

KCGD avatar Jul 25 '21 05:07 KCGD

Have you given your app permission to access the phone's storage/camera/pictures/files?

JKDos avatar Feb 15 '22 13:02 JKDos

Hey @KCGD @JKDos , Right now Android JS doesn't support HTML's input tag. we are looking for a community to contribute to the project still we can guide us about how to add new things to this and make this better.

Chhekur avatar Feb 15 '22 14:02 Chhekur