Installations
npm install cordova-plugin-filepath-clone
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.9.5
NPM Version
4.5.0
Score
71.4
Supply Chain
79.6
Quality
74.9
Maintenance
100
Vulnerability
100
License
Contributors
Unable to fetch Contributors
Languages
Java (97.46%)
JavaScript (2.54%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
hiddentao
Download Statistics
Total Downloads
1,149
Last Day
1
Last Week
5
Last Month
10
Last Year
124
GitHub Statistics
66 Stars
45 Commits
131 Forks
11 Watching
1 Branches
14 Contributors
Bundle Size
292.00 B
Minified
202.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.0.3
Package Id
cordova-plugin-filepath-clone@1.0.3
Size
8.84 kB
NPM Version
4.5.0
Node Version
6.9.5
Total Downloads
Cumulative downloads
Total Downloads
1,149
Last day
0%
1
Compared to previous day
Last week
150%
5
Compared to previous week
Last month
233.3%
10
Compared to previous month
Last year
9.7%
124
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No dependencies detected.
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 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)
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md:0
Reason
5 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv
- Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q
- Warn: Project is vulnerable to: GHSA-crh6-fp67-6883
Reason
Found 12/30 approved changesets -- score normalized to 4
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 12 are checked with a SAST tool
Score
2.9
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More