Document Picker for React Native using Document Providers. If the user cancels the document picker without choosing a file (by pressing the system back button on Android or the Cancel button on iOS), the Promise will be rejected with a cancellation error. You can check for this error using DocumentPicker.isCancel(err) allowing you to ignore it and cleanup any parts of your interface that may not be needed anymore. If the user somehow manages to open multiple file pickers (e.g. due the app being unresponsive), then only the picked result from the last opened picker will be considered and the promises from previous opened pickers will be rejected with an error that you can check using DocumentPicker.isInProgress(). If mode is set to open, iOS is giving you secure access to a file located outside from your sandbox. In that case Apple is asking you to release the access as soon as you finish using the resource.

Features

  • Requires RN = 0.69, Android 5.0+ and iOS 11+
  • This package is supported in Expo managed workflow through the usage of custom development clients
  • New architecture is supported with RN = 71
  • Configure the transition style of the picker
  • If copyTo option is specified, this will point to a local copy of picked file
  • For Android and iOS

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow react-native-document-picker

react-native-document-picker Web Site

Other Useful Business Software
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of react-native-document-picker!

Additional Project Details

Operating Systems

Android, Apple iPhone, Windows

Programming Language

Java

Related Categories

Java Document Management System

Registered

2023-06-28