whocode-nativescript-filepicker
A simple file picker using a Custom FilePath extension for Android and UIDocumentPickerView for iOS.
npm i --save whocode-nativescript-filepicker
- Version: 1.0.17
- GitHub:
- NPM: https://www.npmjs.com/package/whocode-nativescript-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 whocode-nativescript-filepicker
Usage
import { FilePicker } from 'nativescript-simple-filepicker';
const myPicker = new FilePicker();
myPicker.openFilePicker({
extensions?: string[]; // Defaults to all
multipleSelection?: boolean; // Defaults to false
}).then((data) => {
console.log(data.files);
});
License
MIT