nativescript-simple-filepicker
A simple file picker using a Custom FilePath extension for Android and UIDocumentPickerView for iOS.
npm i --save nativescript-simple-filepicker
- Version: 1.1.2
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-simple-filepicker
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript Simple FilePicker Plugin
A simple plugin for providing file picker functionality to your NativeScript app.
Installation
tns plugin add nativescript-simple-filepicker
Usage
import { openFilePicker } from 'nativescript-simple-filepicker';
openFilePicker({
extensions?: string[]; // Defaults to all
multipleSelection?: boolean; // Defaults to false
}).then((data) => {
console.log(data.files);
});
License
MIT