Skip to content

Commit

Permalink
fix(android): android 12 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
monholm committed Mar 9, 2022
1 parent 3338a96 commit 7ccc65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

dependencies {
def work_version = "2.5.0"
def work_version = safeExtGet('targetSdkVersion', 27) < 31 ? "2.5.0" : "2.7.1"
def supportLibVersion = safeExtGet('supportLibVersion', '28.0.0')
def supportLibMajorVersion = supportLibVersion.split('\\.')[0] as int
def appCompatLibName = (supportLibMajorVersion < 20) ? "androidx.appcompat:appcompat" : "com.android.support:appcompat-v7"
Expand Down

0 comments on commit 7ccc65d

Please sign in to comment.