Closed kobe-ra closed 1 month ago
This is a limitation on some devices where their gallery app don't understand the attributes to select multiple pictures.
Hopefully the new picker used in Capacitor Camera plugin 6.x that will be released soon fixes this issues, if you say input file works, the new picker will probably work too.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Capacitor Version
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 5.7.4 @capacitor/core: 5.7.4 @capacitor/android: 5.7.4 @capacitor/ios: 5.7.4
Installed Dependencies:
@capacitor/cli: 5.6.0 @capacitor/android: 5.6.0 @capacitor/ios: 5.6.0 @capacitor/core: 5.6.0
[success] Android looking great! 👌 [error] Xcode is not installed
Other API Details
Platforms Affected
Current Behavior
User clicks button that calls
Camera.pickImages()
without any settings. It opens their filesystem, allowing them to pick one single file. On tapping second file, the first gets unselected (radio button behavior)When implemented with
<input type="file">
their phone correctly opens gallery and allows multiple files input.Expected Behavior
Allowing user to pick multiple files.
Project Reproduction
unnecessary without MIUI 14
Additional Information
Can this be solved on capacitor's side or is is OS problem? OS itself allows multi file selection since it works with element, so it should be possible for
pickImages()
too.