I want to enable users to upload all types of files, including capturing images directly from the camera, using my CustomWebView extension. My webpage already supports all file types, and in Chrome, when the "Select File" option is clicked, both the file picker and camera options are shown.
However, with my current block code implementation, only the file picker appears, and the camera option is missing. I would like to know how I can modify my app so that both the camera and file selection options are available when uploading files.