Installations
npm install jd-community-cordova-plugin-filepath
Developer Guide
Typescript
No
Module System
N/A
Node Version
16.16.0
NPM Version
9.6.4
Score
61.6
Supply Chain
76.3
Quality
75.3
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Love this project? Help keep it running — sponsor us today! 🚀
Download Statistics
Total Downloads
484
Last Day
4
Last Week
9
Last Month
26
Last Year
184
Sponsor this package
Package Meta Information
Latest Version
1.7.4
Package Id
jd-community-cordova-plugin-filepath@1.7.4
Unpacked Size
38.23 kB
Size
11.32 kB
File Count
8
NPM Version
9.6.4
Node Version
16.16.0
Publised On
01 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
484
Last day
-60%
4
Compared to previous day
Last week
-25%
9
Compared to previous week
Last month
85.7%
26
Compared to previous month
Last year
-38.7%
184
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
1
This is a fork of the original plugin cordova-plugin-filepath
I dedicate a considerable amount of my free time to developing and maintaining many cordova plugins for the community (See the list with all my maintained plugins). To help ensure this plugin is kept updated, new features are added and bugfixes are implemented quickly, please donate a couple of dollars (or a little more if you can stretch) as this will help me to afford to dedicate time to its maintenance. Please consider donating if you're using this plugin in an app that makes you money, or if you're asking for new features or priority bug fixes. Thank you!
community-cordova-plugin-filepath
This plugin allows you to resolve the native filesystem path for Android content URIs and is based on code in the aFileChooser library.
Original inspiration from StackOverflow.
Installation
1$ cordova plugin add community-cordova-plugin-filepath
Supported Platforms
- Android
Usage
Once installed the plugin defines the window.FilePath
object. To resolve a
file path:
1window.FilePath.resolveNativePath('content://...', successCallback, errorCallback);
successCallback
Returns the file://
file path.
errorCallback
Returns the following object:
1{ code: <integer>, message: <string> }
Possible error codes are:
-1
- describes an invalid action0
-file://
path could not be resolved1
- the native path links to a cloud file (e.g: from Google Drive app)
LICENSE
Apache (see LICENSE.md)
No vulnerabilities found.
No security vulnerabilities found.