From 93650ddf9759bfb1b7d66a59b5363221ad36b52b Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Sun, 29 Apr 2018 00:45:51 +0200 Subject: [PATCH] Document ANDROID_SUPPORT_V4_VERSION (#656) --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1f33868b..422cf34c 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,19 @@ Follows the [Cordova Plugin spec](https://cordova.apache.org/docs/en/latest/plug ## Installation -This requires phonegap 5.0+ ( current stable v3.0.0 ) +This requires phonegap 7.1.0+ ( current stable v8.0.0 ) phonegap plugin add phonegap-plugin-barcodescanner -Older versions of phonegap can still install via the __deprecated__ id ( stale v2.0.1 ) - - phonegap plugin add com.phonegap.plugins.barcodescanner - It is also possible to install via repo url directly ( unstable ) phonegap plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner.git +Optional variables: +This plugin requires the Android support library v4. The minimum version is `24.1.0`. Default value is `27.+`. Check out the latest version [here](https://developer.android.com/topic/libraries/support-library/revisions.html). +``` +phonegap plugin add phonegap-plugin-barcodescanner --variable ANDROID_SUPPORT_V4_VERSION="27.1.1" +``` ### Supported Platforms - Android