Closed marcanw closed 1 month ago
That sort of change should be fairly straightforward. I'm wondering whether there's any downside in adding it just as a blanket update for AIR, or whether we should only have this capability added on-demand.
TBH seems a little odd that this capability isn't built into the WebChromeClient by default; but maybe they need this extra bit of glue just to conform with how intent/activity results are handled.
We'll see if we can squeeze this in for our 51.1 update...
thanks
Great! Thank you.
@ajwfrost Is there a release date for the 51.1 update? I need to inform my client. Thank you.
It was meant to be early in the coming week .. aiming for the end of the week now as we have picked up a weird regression issue that we need to eliminate first!
Thank you @ajwfrost it works like a charm with the last AIR.
My app uses a lot of StageWebView.
We have to use the following HTML code inside StageWebView in order to access the gallery:
<input style="display:none" class=files type="file" accept="image/*,video/*" multiple onchange="resizeAndSaveImage(this.files);this.value=''">
It works fine on a normal web page and on iOS/StageWebView, but it doesn't work on Android/StageWebView.
After some research, I found that a WebView on Android needs a few lines of code to accept the file input.
Do you think it's possible to add this feature to unlock the file input from StageWebView on Android? It is really important for us; otherwise, we might be forced to switch to another platform (which would make me very sad to quit Adobe Air).
Thank you for your help.
Here is the code I found: