Skip to content

Fix maxFiles limit for Android image picker #2164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zahidalidev
Copy link

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
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant