react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Fix maxFiles limit for Android image picker

Open zahidalidev opened this issue 7 months ago • 2 comments

Description

This PR fixes the maxFiles option for Android image picker. Previously, the maxFiles option was documented in the README but wasn't properly implemented for Android devices.

Changes

  • Refactored the image picker initialization on Android to use the modern photo picker API
  • Added proper implementation of maxFiles limit for Android
  • Added fallback to the classic picker if the modern picker is not available

Testing

  • Tested on Android 12, 13, and 14
  • Verified both single and multiple selection modes work correctly
  • Confirmed that the maxFiles limit is properly enforced on Android

zahidalidev avatar Apr 15 '25 07:04 zahidalidev

Hi @ivpusic 👋 Just following up on this PR — it's been a few weeks without any feedback. This fixes a documented but unimplemented maxFiles option for Android and has been tested on recent Android versions. Let me know if any changes or reviews are needed. Appreciate your time!

zahidalidev avatar May 20 '25 17:05 zahidalidev

@zahidalidev thanks! could you resolve a merge conflict, and I will merge it afterwards

ivpusic avatar Oct 15 '25 22:10 ivpusic