nativescript-simple-filepicker
by garystubbings | v1.1.2
A simple file picker using a Custom FilePath extension for Android and UIDocumentPickerView for iOS.
npm i --save nativescript-simple-filepicker

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