最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

css - How to allow user to input files in react native? - Stack Overflow

programmeradmin1浏览0评论

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 ponent for this use? Does anyone have any remendations on how to go about this?

Thanks!

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 ponent for this use? Does anyone have any remendations on how to go about this?

Thanks!

Share Improve this question asked Sep 28, 2021 at 16:20 wezrinewezrine 831 gold badge2 silver badges12 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

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

发布评论

评论列表(0)

  1. 暂无评论