react-native-documents / document-picker

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

Android limits PDFS but allows you to select all files #582

Closed caijiami closed 2 years ago

caijiami commented 2 years ago

DocumentPicker.pickSingle({ copyTo: 'cachesDirectory', type: [DocumentPicker.types.pdf, DocumentPicker.types.docx], }) .then(res => {

  }
})
.catch(console.log);

"react": "17.0.1", "react-native": "0.64.2", "react-native-document-picker": "8.1.1",

caijiami commented 2 years ago

@Amosel @dantman @bky @benoist You guys can take a look at this for me

github-actions[bot] commented 2 years ago

:wave: @caijiami, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue. The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it!

vonovak commented 2 years ago

hello, please open a new issue and describe what the current behavior and expected behavior is, it's not clear from what you wrote. Thank you :)