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

Commit

Permalink
Removed min sdk version from grandle (#450)
Browse files Browse the repository at this point in the history
This fixes a lot of problems with the installation on projects which created 2016+.
Temporary because it's not a great solution but does what it should 👍
  • Loading branch information
patrickbussmann authored and jcesarmobile committed Nov 21, 2017
1 parent d33fcd0 commit 36284b1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/android/barcodescanner.gradle
@@ -1,9 +1,3 @@
def DEFAULT_MIN_SDK_VERSION = 15
def minSdk = Math.max(DEFAULT_MIN_SDK_VERSION, cdvHelpers.getConfigPreference('android-minSdkVersion',0) as Integer);
if (cdvMinSdkVersion == null || Integer.parseInt('' + cdvMinSdkVersion) < minSdk ) {
ext.cdvMinSdkVersion = minSdk;
}

repositories{
jcenter()
flatDir{
Expand Down

1 comment on commit 36284b1

@Robula
Copy link

@Robula Robula commented on 36284b1 Dec 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This fixed our issues.

Please sign in to comment.