Skip to content

Commit 41f83bd

Browse files
committed
Revert "Remove forced androidx core lib version and update compile/target SDK"
This reverts commit db5fb3f.
1 parent db5fb3f commit 41f83bd

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ def safeExtGet(prop, fallback) {
77
android {
88
namespace "com.yoti.reactnative.docscan"
99

10-
compileSdk safeExtGet('compileSdkVersion', 35)
10+
compileSdk safeExtGet('compileSdkVersion', 34)
1111

1212
defaultConfig {
1313
minSdkVersion safeExtGet('minSdkVersion', 21)
14-
targetSdkVersion safeExtGet('targetSdkVersion', 35)
14+
targetSdkVersion safeExtGet('targetSdkVersion', 34)
1515
versionCode 600
1616
versionName "6.0.0-alpha.1"
1717
ndk {

example/android/app/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,11 @@ task copyDownloadableDepsToLibs(type: Copy) {
103103
into 'libs'
104104
}
105105

106-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
106+
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
107+
108+
configurations.all {
109+
resolutionStrategy {
110+
force 'androidx.core:core:1.8.0'
111+
force 'androidx.core:core-ktx:1.8.0'
112+
}
113+
}

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
buildscript {
22
ext {
33
minSdkVersion = 21
4-
compileSdkVersion = 35
5-
targetSdkVersion = 35
4+
compileSdkVersion = 34
5+
targetSdkVersion = 34
66
yotiSdkVersion = "4.2.1"
77
}
88
repositories {

0 commit comments

Comments
 (0)