New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-file-opener2

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-file-opener2 - npm Package Compare versions

Comparing version 1.0.11 to 2.0.0

10

package.json
{
"name": "cordova-plugin-file-opener2",
"version": "1.0.11",
"version": "2.0.0",
"description": "A File Opener Plugin for Cordova. (The Original Version)",
"cordova": {
"id": "io.github.pwlin.cordova.plugins.fileopener2",
"id": "cordova-plugin-file-opener2",
"platforms": [

@@ -16,3 +16,3 @@ "android",

"type": "git",
"url": "git+https://github.com/pwlin/cordova-plugin-file-opener2.git"
"url": "https://github.com/pwlin/cordova-plugin-file-opener2.git"
},

@@ -32,3 +32,5 @@ "keywords": [

],
"author": "pwlin05@gmail.com",
"author": {
"name": "pwlin05@gmail.com"
},
"license": "MIT",

@@ -35,0 +37,0 @@ "bugs": {

37

README.md

@@ -0,1 +1,12 @@

Contributors
------------
[@Gillardo](https://github.com/Gillardo/)
[@TankOs](https://github.com/TankOs)
[@Rovi23](https://github.com/Rovi23)
[@josemanuelbd](https://github.com/josemanuelbd)
A File Opener Plugin for Cordova (The Original Version)

@@ -12,13 +23,17 @@ ==========================

-------------
cordova plugin add https://github.com/pwlin/cordova-plugin-file-opener2
cordova plugin add cordova-plugin-file-opener2
PhoneGap Build
---------------
This Plugin is also available in PhoneGap Build Repository. Go to [https://build.phonegap.com/](https://build.phonegap.com/)
And search for `io.github.pwlin.cordova.plugins.fileopener2`
(There are a couple of other forks out there which are mostly out of date. Make sure to download the one with the exact same id as mentioned above)
Usage
------
cordova.plugins.fileOpener2.open(
filePath,
fileType,
{
error : function(){ },
success : function(){ }
}
);
Examples
--------
Open an APK install dialog:

@@ -49,3 +64,3 @@

- For properly opening a PDF file, you must already have a PDF reader (Acrobat Reader, Foxit Mobile PDF, etc. ) installed on your mobile device. Otherwise this will not work
- For properly opening a any file, you must already have an suitable reader for that particular file type already installed on your device. Otherwise this will not work.

@@ -85,6 +100,2 @@

Contributors
------------
[@Gillardo:](https://github.com/Gillardo/) Support for WP8
LICENSE

@@ -91,0 +102,0 @@ --------

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc