-
-
Notifications
You must be signed in to change notification settings - Fork 448
Possible Unhandled Promise Rejection #484
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
Comments
hello, can you please try with version 7 and report back? Thanks |
@vonovak I already tried but no luck |
What platform is it on? |
I have the same problem... the result of DocumentPicker.pick is undefined :
|
hello, please read the docs for pick: https://github.com/rnmods/react-native-document-picker#documentpickerpickmultipleoptions--documentpickerpicksingleoptions--documentpickerpickoptions it returns an array, not an object. Thank you! :) |
Bug report
Summary
Steps to reproduce
Whenever I'm calling
Select_File
fun, i'm getting warningPossible Unhandled Promise Rejection (id: 11): TypeError: null is not an object (evaluating 'RNDocumentPicker.pickDirectory') pickDirectory@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:202901:34
in emulator/real device.
I also tried with the different versions of
react-native-document-picker
but I'm getting this warning in all versions.Environment info
npx react-native info
output:The text was updated successfully, but these errors were encountered: