In the context of the app i'm working on, this allows the UI to prompt the user to upload videos as well as images. When uploading an image it crashes our app due to not having the permission for videos. I think this should be an easy change to just include another inputElement.setAttribute('accept', 'image/*'); which I can do a PR for if you'd like but I wanted to post here first to see if there was any reasoning behind not having that in there or if there's something else I'm missing.
Thanks in advance!
In the InputRenderer version, it creates an upload input like so
whereas in the native version (that gets used by iOS apps like the one I'm working on) it doesn't
In the context of the app i'm working on, this allows the UI to prompt the user to upload videos as well as images. When uploading an image it crashes our app due to not having the permission for videos. I think this should be an easy change to just include another
inputElement.setAttribute('accept', 'image/*');
which I can do a PR for if you'd like but I wanted to post here first to see if there was any reasoning behind not having that in there or if there's something else I'm missing. Thanks in advance!