Skip to content

Commit

Permalink
feat(android): pin androidx.work version
Browse files Browse the repository at this point in the history
Starting this november, all android apps (including updates) will require targetSdkVersion 31
and as a result compileSdkVersion 31, therefore not marking as a breaking change
  • Loading branch information
monholm committed Oct 10, 2022
1 parent ddac8ba commit 73f21c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ repositories {
}

dependencies {
def work_version = safeExtGet('targetSdkVersion', 27) < 31 ? "2.5.0" : "2.7.1"
implementation 'com.facebook.react:react-native:+'
implementation "com.google.android.gms:play-services-base:${safeExtGet('playServicesVersion', '18.1.0')}"
implementation "com.google.android.gms:play-services-maps:${safeExtGet('playServicesVersion', '18.0.2')}"
implementation "com.google.android.gms:play-services-location:20.0.0"
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation "androidx.work:work-runtime:$work_version"
implementation "androidx.work:work-runtime:2.7.1"
}

0 comments on commit 73f21c7

Please sign in to comment.