-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
Cannot read property 'pick' of undefined #221
Comments
What version of react native & on ios or android ? Which version? Plugin version? |
"react-native-document-picker": "^3.2.2", react-native-cli: 2.0.1 win 10 .. |
if i follow these steps https://www.npmjs.com/package/react-native-document-picker#android get error @OverRide |
Does it change something if you do // file: MainApplication.java
...
import com.reactnativedocumentpicker.ReactNativeDocumentPicker; // <-- this line for import package
public class MainApplication extends Application implements ReactApplication { If it doesn't can you try this version https://github.com/Elyx0/react-native-document-picker/tree/v2 (doc changed) |
I was having the same issue after upgrading and for me it was a simple import change that did the trick... I went from: To: No more brackets :P |
I am having the same issue stated above. No matter what I do it keeps happening every single time I try to run the app to test: @OverRide |
i am facing the same issue on ios |
i'm facing the same issue. Can anyone guide me how to resolve this issue? |
@ghafartanveer make sure that after installing the package you restarted the app again and closed the initiated Metro builder |
same here |
same |
I Was having same issue i just do npx react-native unlink and then re-link again after linking if package entry is not present in app/build.gradle then You need to add manually |
i'm facing the same issue on IOS. Can anyone guide me how to resolve this issue? |
I'm facing this issue "TypeError: Cannot read property 'pick' of undefined" in react native windows application Does anyone have solution for this please ? |
I had to use this version "react-native-document-picker": "^4.1.0", It solved my problem |
@prabhario did you resolve that issue because I'm having same issue, and I'm using windows application |
Run |
Restart your bundler it will help you. |
the same problem guys :( |
Anybody got a repro? |
Same issue, using the expo managed workflow. "Possible Unhandled Promise Rejection : TypeError: Cannot read property 'pick' of null. And i am using pickSingle. |
does anyone has altenative to react native document picker because this one is getting this error TypeError: Cannot read property 'pick' of null |
..installation must be made easy.+followed allsteps still getting the error
Cannot read property 'pick' of undefined
FYI i followed all you instructions
The text was updated successfully, but these errors were encountered: