If a webpage displayed by Ti.UI.WebView has an <input type="file"/> element for taking camera photos, then our Android code will save the photo to "public" external storage which is no longer allowed due to Android's "scoped storage" rules. The photo must be saved to a different location.
An example on how to implement file/image selection in HTML can be found here...
Our TiWebChromeClient.java code needs to replace its usage of the following method call.
Best solution would be to let the camera app store the photo to its default location and use a ContentResolver to retrieve an InputStream to the photo.
There is also an Android 11 "package visibility" issue in our TiWebChromeClient.java code where we use the Java resolveActivity() method. We should remove our usage of this method since it will require a <query/> element in the "AndroidManifest.xml" to work. Instead, wrap the startActivityForResult() method call with a try/catch block in case no activity was found.