cordova-plugin-filechooser-alwaysmkt

1.2.0 • Public • Published

Cordova FileChooser Plugin

Requires Cordova >= 2.8.0

Install with Cordova CLI

$ ionic cordova plugin add cordova-plugin-filechooser-alwaysmkt

API

fileChooser.open(filter, successCallback, failureCallback); // with mime filter

fileChooser.open(successCallback. failureCallback); // without mime filter

Filter (Optional)

{ "mime": "application/pdf" }  // text/plain, image/png, image/jpeg, audio/wav etc

The success callback gets the uri of the selected file

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

Screenshot

Screenshot

Supported Platforms

  • Android
  • Windows (UWP)

TODO rename open to pick, select, or choose.

Readme

Keywords

none

Package Sidebar

Install

npm i cordova-plugin-filechooser-alwaysmkt

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

64.6 kB

Total Files

8

Last publish

Collaborators

  • zyhzx123e_jason