From 150292f8e38b0da0a5dff4156d4402a23a1bbb2b Mon Sep 17 00:00:00 2001 From: shnist Date: Wed, 13 Feb 2019 09:34:55 +0000 Subject: [PATCH] docs: updated installation instructions to be clearer --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df85788..d41bfc0 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,16 @@ cordova.plugins.fileOpener2.open( $ cordova plugin add cordova-plugin-file-opener2 ``` -From release `2.1.0` you can also set the android support version +### Optional variables + +This plugin requires the Android support library v4. From release `2.1.0` the version of this can be set at installation. The minimum version is `24.1.0`. Default value is `27.+`. [Check out the latest version](https://developer.android.com/topic/libraries/support-library/revisions.html). + ```shell -$ cordova plugin add cordova-plugin-file-opener2 --variable ANDROID_SUPPORT_V4_VERSION={required version} +$ cordova plugin add cordova-plugin-file-opener2 --variable ANDROID_SUPPORT_V4_VERSION="27.+" ``` +If you are using the `cordova-android-support-gradle-release` plugin it should match the value you have set there. + ## Requirements The following platforms and versions are supported by the latest release: