You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible Unhandled Promise Rejection (id: 1): TypeError: null is not an object (evaluating 'RNDocumentPicker.pick') #251
If that's all you have after a week I don't believe you 😁
Reacted by Fernando Machado Bernardino, Thomas Cruz, Nikolay Lapa, Ntokozo, mertct11, Vibin Joby, Sathwik Gangisetty, butterfly-valley, Suraj Dutta, Beomsoo Jeon and 35 more
Hello ! Please help me solving this error
[Unhandled promise rejection: TypeError: undefined is not an object (evaluating '_expoDocumentPicker.DocumentPicker.getDocumentAsync')]
I am facing the same issue even though it has been installed properly and I have updated podfile as well and then also did the pod install but still the same issue, anyone ???
Which device are you using OziTFA? The error occurs on all emulators in my testing, but I have also tested on two devices and it does not occur on either. (A Motorola and a Huawei.)
I know I'm late to the party, but I had the same issue and managed to fix it.
I think the problem is you need to rebuild the java portion of the application and to achieve this I simply had to shut down my virtual device and restarted it with npx react-native run-android from the project folder.
Activity
Elyx0 commentedon Oct 21, 2019
If that's all you have after a week I don't believe you 😁
aasalshehhi commentedon Oct 22, 2019
Well this is what is actually happening. I even deleted my project and used the backup to install again, but still the same issue in IOS.
DanielBoening commentedon Oct 24, 2019
@aasalshehhi did you upgrade to > RN.60? The new binding system could mess with you.
stefanoTron commentedon Nov 5, 2019
@aasalshehhi
had the same warning, forgot to run
cd ios && pod install && cd ...Close the app and the packager and restart.
themanpur commentedon Nov 21, 2019
Hello ! Please help me solving this error
[Unhandled promise rejection: TypeError: undefined is not an object (evaluating '_expoDocumentPicker.DocumentPicker.getDocumentAsync')]
stefanoTron commentedon Nov 21, 2019
@themanpur, this is not the right repo, you are using Expo's documentPicker https://docs.expo.io/versions/latest/sdk/document-picker/
maybe you can find some help here https://github.com/expo/expo/tree/master/packages/expo-document-picker
abhinavkhajuria commentedon Jan 14, 2020
Same is still happening in case of running the app in android in debugging. whereas the app in release mode is working fine.
in "react-native-document-picker": "^3.2.4"
"react-native": "0.61.5"
Sayyamabbasi786 commentedon Jul 2, 2020
I am facing the same issue even though it has been installed properly and I have updated podfile as well and then also did the pod install but still the same issue, anyone ???
munibkhalidhere commentedon Jul 4, 2020
having the same issue... anyone solved it yet?
fahimk commentedon Jul 27, 2020
This seems to happen only on the device emulators. When running on a real device it works fine.
sindu12jun commentedon Aug 28, 2020
This only happen in develop mode, not in production
mrlego commentedon Sep 6, 2020
i got the same error...i am really starting to dislike RN : (
sathwik77 commentedon Sep 11, 2020
Same issue with expo v38 and package v3.5.3. Can OP reopen this issue?
yamila-fraiman commentedon Sep 24, 2020
Same issue using android. I'm not using expo.
6 remaining items
jdempcy commentedon Sep 28, 2021
I've tried everything in this thread and the issue still occurs for me on Android. This is what I get when I try to open the file picker:

jdempcy commentedon Sep 28, 2021
Opening on an actual device works. Simulator always gives the above error
OziTFA commentedon Oct 13, 2021
Got still same error even on simulator/real device.. TypeError: null is not an object (evaluating 'RNDocumentPicker.pick')
jdempcy commentedon Oct 13, 2021
Which device are you using OziTFA? The error occurs on all emulators in my testing, but I have also tested on two devices and it does not occur on either. (A Motorola and a Huawei.)
OziTFA commentedon Oct 13, 2021
Actually it is okay now. It was because of other lib conflict etc 👍🏻
fribeiropaiva commentedon Dec 20, 2021
Could you tell us what you did to solve it? Having the same issue here
CliffBrewerVEC commentedon Feb 7, 2022
I know I'm late to the party, but I had the same issue and managed to fix it.
I think the problem is you need to rebuild the java portion of the application and to achieve this I simply had to shut down my virtual device and restarted it with
npx react-native run-androidfrom the project folder.ZainHasan97-Razi commentedon Feb 20, 2022
cd android && ./gradlew cleanwill help.arunachalam-b-g commentedon Jul 16, 2022
Running
react-native link react-native-document-pickerfixed this issue for meNima-net commentedon Jul 29, 2022
worked for me too thanks
winrid commentedon Aug 25, 2022
Does not work with Pixel 2 emulator, including resetting Metro's cache.
remi-p-opka commentedon Oct 18, 2022
Works on emulator (android) but not on real device (ios).
hsnMoghadasi commentedon Jan 8, 2023
some time it works Properly. some time not.
what could i do?
hsnMoghadasi commentedon Jan 8, 2023
i comment type option and its work well :/
what could i do?
olawalejuwonm commentedon Feb 21, 2023
I'm also having the same issue. Any solution?