react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.35k stars 441 forks source link

`pickMultiple` does not allow multiple selection on iOS #535

Closed thomasttvo closed 2 years ago

thomasttvo commented 2 years ago

Bug report

Summary

Calling DocumentPicker.pickMultiple() on iOS does not allow me to pick multiple files. I can only pick one at a time. Tested on physical device and used the Browse tab instead of Recent tab

Reproducible sample code

Simply run this on iOS:

DocumentPicker.pickMultiple()

Environment info

npx react-native info output:

System:
    OS: macOS 11.5.2
    CPU: (8) arm64 Apple M1
    Memory: 175.98 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
    Watchman: 2022.01.31.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7784292
    Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.13 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

library version: 8.0.0

iOS : 15.2.1

thomasttvo commented 2 years ago

Did not realize I had to tap the "..." button at the top and tap "Select"