Merge pull request #234 from shnist/master

Add optional android version support variable at installation
This commit is contained in:
Aaron Faber 2018-12-10 16:25:19 +00:00 committed by GitHub
commit ad4739eb67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 19 deletions

View File

@ -17,7 +17,8 @@ Requirements
Installation
-------------
cordova plugin add cordova-plugin-file-opener2
$ cordova plugin add cordova-plugin-file-opener2
$ cordova plugin add cordova-plugin-file-opener2 --variable ANDROID_SUPPORT_VERSION={required version}
Usage
------

View File

@ -31,7 +31,8 @@
</provider>
</config-file>
<source-file src="src/android/res/xml/opener_paths.xml" target-dir="res/xml" />
<framework src="com.android.support:support-v4:+" />
<preference name="ANDROID_SUPPORT_V4_VERSION" default="27.+"/>
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION"/>
</platform>
<!-- iOS -->