android-js / androidjs

Platform to build android app using node js
MIT License
466 stars 109 forks source link

the browser file input does not do anything #211

Open KCGD opened 3 years ago

KCGD commented 3 years ago

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):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

JKDos commented 2 years ago

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

Chhekur commented 2 years ago

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.