Here is the code snippet: http://codepad.org/3Ix8sZeN
This package exports NativeModules.RNDocumentPicker as DocumentPicker, so you are 99.99% guaranteed your issue is just that you have not finished linking the native code and rebuilding the native portion of your app.
The problem has been solved!
@uraniumreza, how did you solve it?
@mromarreyes I didn't add permission for _WRITE_EXTERNAL_STORAGE_!
@uraniumreza So your error was on android? I'm having the issue with iOS. Did you have any issues with iOS?
@mromarreyes actually I didn't try this for IOS!
I'm having this issue but I'm using CRNA not react native. Do I still need to do all the linking part ?
CRNA doesn't magically make is so you don't have to link anything. All packages with native code need to be linked in order to work.
yeah I saw I should eject my CRNA in order to use components with native code.
I encountered this problem in two different ios projects after trying to automatically link. solution both times was to manually link.
@alexzobi thank you. It works perfectly with manual linking.
Most helpful comment
I encountered this problem in two different ios projects after trying to automatically link. solution both times was to manually link.