react-native-document-uploader
v0.1.6
Published
React Native Library for uploading documents
Readme
react-native-document-uploader
React Native Library for uploading documents
Installation
npm install react-native-document-uploaderAndroid compatibility
Version 0.1.6 obtains the foreground activity through ReactApplicationContext,
which supports React Native 0.87 without consumer-side patches. The JavaScript API
and file selection behavior are unchanged.
Usage
import { pick, PickedFile } from 'react-native-document-uploader';
const uploadedFile = await pick();
if (uploadedFile) {
console.log('Response:', uploadedFile);
}Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
