From bd0add725622ad4ccec59f23c2521e7117e2bfe7 Mon Sep 17 00:00:00 2001 From: shnist <aaron.jack.faber@gmail.com> Date: Fri, 14 Dec 2018 14:34:11 +0000 Subject: [PATCH] docs(): updated installation instructions to make it clearer from which release you can set the android support version --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 55c48f5..0dd57f5 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,13 @@ Cordova 6.0 is supported by 2.0.19, but there are a number of issues, particular Installation ------------- + ```shell $ cordova plugin add cordova-plugin-file-opener2 +``` + +From release `2.1.0` you can also set the android support version +```shell $ cordova plugin add cordova-plugin-file-opener2 --variable ANDROID_SUPPORT_VERSION={required version} ``` @@ -28,12 +33,11 @@ cordova.plugins.fileOpener2.open( fileMIMEType, { error : function(){ }, - success : function(){ }, - position : [x, y] + success : function(){ } } ); ``` -`position` array of coordinates from top-left device screen, use for iOS dialog positioning. + Examples --------