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

I am building a react native app and I need the user to be able to add a file from their phone (pdf, do

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745375344a4624972.html

相关推荐

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

    I am building a react native app and I need the user to be able to add a file from their phone (pdf, do

    3小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信