cordova-filechooser

Cordova Plugin that supplies a File Chooser

Usage no npm install needed!

<script type="module">
  import cordovaFilechooser from 'https://cdn.skypack.dev/cordova-filechooser';
</script>

README

Cordova FileChooser Plugin

Originally created by don.

Forked to create an NPM compatible package, so it's installable via the CLI.

Requirements

Requires Cordova >= 2.8.0

Installation

Install with Cordova CLI

$ cordova plugin add cordova-filechooser

Usage

API

fileChooser.open(successCallback, failureCallback);

The success callback get the uri of the selected file

fileChooser.open(function(uri) {
    alert(uri);
});

Screenshot

Screenshot

TODO rename open to pick, select, or choose.