wezrine
wezrine

Reputation: 73

How to allow user to input files in react native?

I am building a react native app and I need the user to be able to add a file from their phone (pdf, doc, etc). Is can't seem to find a native component for this use? Does anyone have any recommendations on how to go about this?

Thanks!

Upvotes: 1

Views: 8618

Answers (1)

John Ocean
John Ocean

Reputation: 506

Please try this module. I hope it'll work for you.

npm i react-native-document-picker

Here is the npm package link: Npm-package

Here is the one of example using this package: example

Upvotes: 3

Related Questions