Issue with pickMultiple for Android
See original GitHub issueI’m using pickMultiple method for selecting files from iOS and Android. For iOS it’s working properly and nice. But for Android library is working very strange. In native Intent I can select several files but in final I get only first selected files.
Here example of my code:
DocumentPicker.pickMultiple({
type: [
DocumentPicker.types.allFiles,
DocumentPicker.types.images,
DocumentPicker.types.video,
DocumentPicker.types.audio,
DocumentPicker.types.pdf,
],
})
.then((result) => {
// In result always only 1 file when I selected more that 1
});
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Developers - Issue with pickMultiple for Android - - Bountysource
I'm using pickMultiple method for selecting files from iOS and Android. For iOS it's working properly and nice. But for Android library is...
Read more >DocumentPicker in React-Native not working properly for ...
I have implemented a document picker in my react native application and it is working fine for iOS. However in Android ...
Read more >react-native-document-picker - npm
Issue tracker is now reserved for bugs and feature requests only and ... Use pickMultiple , pickSingle or pick to open a document...
Read more >Picking files in React Native apps using ... - LogRocket Blog
Learn how to pick documents and files of any format from a user's device in a React Native application for iOS and Android....
Read more >Intent - Android Developers
... with a UI where they can pick multiple items that are all returned to the caller. ... "product" represents that the topic...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it is necessary to swap the condition.
Example:
me too same problem . only one file is selected