Installations
npm install @wisdomgarden/cordova-plugin-filepath
Developer Guide
Typescript
No
Module System
N/A
Node Version
20.17.0
NPM Version
10.8.2
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
947
Last Day
3
Last Week
11
Last Month
17
Last Year
166
GitHub Statistics
66 Stars
45 Commits
131 Forks
11 Watching
1 Branches
14 Contributors
Package Meta Information
Latest Version
1.6.0-8
Package Id
@wisdomgarden/cordova-plugin-filepath@1.6.0-8
Unpacked Size
41.77 kB
Size
11.88 kB
File Count
7
NPM Version
10.8.2
Node Version
20.17.0
Publised On
14 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
947
Last day
0%
3
Compared to previous day
Last week
0%
11
Compared to previous week
Last month
88.9%
17
Compared to previous month
Last year
-53.1%
166
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
1
cordova-plugin-filepath
PLEASE NOTE: This plugin is no longer actively maintained.
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(
2 "content://...",
3 successCallback,
4 errorCallback
5);
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)
NOTES
Support get native path from third party apps such as WhatsApp
About Android 11:
- https://github.com/asatanasov/cordova-plugin-filepath/commit/adac021ad4e3fa5293e4dd9e44186661663896f5
- https://github.com/amacz13/cordova-plugin-filepath/commit/bf8577c916c6a9ef6dc02ffb770e9a253021261a
- https://github.com/bl1ndl3/cordova-plugin-filepath/commit/a8d4f28453c5f7f8b7fa4f24939b9bafa04cf5a7
- https://github.com/Christina1701/cordova-plugin-filepath/commit/402739ced73338f5f50783c1fb23483a707640ef
- https://github.com/denis-samodin/cordova-plugin-filepath/commit/aadebda261c8ead955dfed484ed2c2bd8048f96a error
- https://github.com/fatesinger/cordova-plugin-filepath/commit/af1dccbb59180176864f778f925762dee1cea721 lidong
- https://github.com/flobiwankenobi/cordova-plugin-filepath/commit/3526c80c91d5e3eafe7c75d775998b46020c4c23
- https://github.com/hiepnsx/cordova-plugin-filepath/commit/f098f2a7af2ee46383d8ff2b0da13bea33f1b59b !!!
- https://github.com/humatrix-mobile/cordova-plugin-filepath/commit/dd92b2d73d37cc7d581f39861a79a32ef6c8de6f
- https://github.com/mpadmaraj/cordova-plugin-filepath/commit/e756b2a65d20a2de9884d5cfe294f30ee9e8f38f lidong
- https://github.com/MuhAssar/cordova-plugin-filepath/commit/9ace17e3c6d30338779a9bf09fb4d5293d29753f
- https://github.com/tbeata/cordova-plugin-filepath/commit/19ba5876210d5f608f6011c7316630b78af8311e
- https://github.com/tbeata/cordova-plugin-filepath/commit/19ba5876210d5f608f6011c7316630b78af8311e
- https://github.com/VIAVI-Solutions/cordova-plugin-filepath/commit/a4714209cfbd2bd8eebad902b8f5ef3e34fb8baa
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