mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
docs: updated installation instructions to be clearer
This commit is contained in:
parent
7afb38be93
commit
150292f8e3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user