pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 587 forks source link

Using ANDROID_SUPPORT_V4_VERSION #247

Closed WuglyakBolgoink closed 5 years ago

WuglyakBolgoink commented 5 years ago

Hallo!

What should I write in ANDROID_SUPPORT_V4_VERSION if I have something like this:

...
<platform name="android">
        <preference name="android-minSdkVersion" value="21"/>
</platform>
...
<plugin name="cordova-android-support-gradle-release" spec="1.4.4">
    <variable name="ANDROID_SUPPORT_VERSION" value="21.+"/>
</plugin>
...

By default plugin was installed as:

<plugin name="cordova-plugin-file-opener2" spec="^2.1.4">
        <variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
</plugin>
shnist commented 5 years ago

hi @WuglyakBolgoink, I think you should change it to 21.+

shnist commented 5 years ago

@WuglyakBolgoink did that solve your issue?

WuglyakBolgoink commented 5 years ago

Hallo @shnist

I changed to "21.+"..

But actually Plugin should say, which version I must write on install.

--variable ANDROID_SUPPORT_V4_VERSION={required version}

for example hire https://github.com/phonegap/phonegap-plugin-barcodescanner#installation it is not clear what should be written... Latest or min version?) image

shnist commented 5 years ago

hi @WuglyakBolgoink, I understand what you're saying, I will update the README to be clearer.