Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #314 from ben-8409/master
Browse files Browse the repository at this point in the history
Only set cdvMinSdkVersion if not set or smaller then 15. Fixes #275
  • Loading branch information
EddyVerbruggen authored Aug 30, 2016
2 parents 97a2991 + 5513f5c commit 2af6324
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/android/barcodescanner.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
ext.cdvMinSdkVersion = 15
def minSdkVersion = 15

if(cdvMinSdkVersion == null) {
ext.cdvMinSdkVersion = minSdkVersion;
} else if (cdvMinSdkVersion.toInteger() < minSdkVersion) {
ext.cdvMinSdkVersion = minSdkVersion;
}

repositories{
jcenter()
Expand Down

0 comments on commit 2af6324

Please sign in to comment.