cordova-plugin-file-opener2
Advanced tools
Comparing version 1.0.11 to 2.0.0
{ | ||
"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": { |
@@ -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
22764
120