Skip to content
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

allowMultiSelection doesn't work on iOS 15 #727

Open
VadymVashchuk opened this issue Jul 3, 2024 · 0 comments
Open

allowMultiSelection doesn't work on iOS 15 #727

VadymVashchuk opened this issue Jul 3, 2024 · 0 comments

Comments

@VadymVashchuk
Copy link

Thank you for such a nice package! I have encountered a bug. As mentioned above, I am trying to pick multiple files on iOS 15 (on a real device). On iOS 17, it works fine (both on a real device and a simulator), but on iOS 15, it seems like the OS is ignoring this property and I can only pick a single file.

My code:

  const pickerResult = await DocumentPicker.pick({
    presentationStyle: 'pageSheet',
    copyTo: 'cachesDirectory',
    allowMultiSelection: true,
  });

It returns an array with only one element. In the UI, I can't see any checkboxes, and after I click on a file, it closes.
I am using 9.3.0 version of package. I am talking only about public version of document-picker.

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

No branches or pull requests

1 participant