hrp03 opened a new pull request, #1061:
URL: https://github.com/apache/cordova-plugin-inappbrowser/pull/1061

   Currently **input type='file'** only allows to select a file from 
explorer/file picker. This PR has been raised to add a feature to show the 
action chooser for Camera, Video File. This allows users to capture the file or 
simply choose from the explorer.
   
   
   ### Platforms affected
   
   Android
   
   ### Motivation and Context
   This enhances the functionality of the plugin to behave the same way as 
standard browser. The same way we can capture the image from camera when input 
type is file in html element with environment attribute.
   
   ### Description
   <!-- Describe your changes in detail -->
   
   Shown a three options to choose from whether select a file or capture it. If 
user selectes camera it shows camera to capture image, for video/camcorder it 
show camera to capture video and for File it shows the file explorer.
   
   ### Testing
   
   Tested on real android devices from Android version 9 to 14
   
   ### Checklist
   
   - [x] I've run the tests to see all new and existing tests pass
   - [ ] I added automated test coverage as appropriate for this change
   - [] Commit is prefixed with `(platform)` if this change only applies to one 
platform (e.g. `(android)`)
   - [ ] If this Pull Request resolves an issue, I linked to the issue in the 
text above (and used the correct [keyword to close issues using 
keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to