When using the InApp Browser within our Ionic application on Android devices, we encounter a limitation regarding the input type="file"
element. Specifically, upon clicking the file input field, the option to open the camera is not available. This issue contrasts with the behavior observed on iPhone devices, where the camera option is accessible.
Current Status
This issue has been identified as a recurring problem within the cordova-plugin-inappbrowser
plugin. Several related issues have been reported on the official GitHub repository, but as of now, no resolution or workaround has been provided by the plugin maintainers.
Relevant Issue Links:
Steps to Reproduce:
- Launch the Ionic application on an Android device.
- Navigate to a page containing an
input type="file"
element within the InApp Browser. - Click on the file input field.
Expected Behavior:
- The user should be presented with the option to either select a file from the device’s storage or open the camera to capture a new file.
Actual Behavior:
- The option to open the camera is not available, limiting the user’s ability to capture new files directly through the InApp Browser interface.
Additional Notes:
- As this issue significantly impacts user experience and functionality, we kindly request the attention of the community and the plugin maintainers to explore potential solutions or workarounds.
- Any insights, suggestions, or contributions to resolving this issue would be greatly appreciated.
Thank you for your attention and assistance in addressing this matter.