Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
buildscript {
ext {
buildToolsVersion = "35.0.0"
buildToolsVersion = "37.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
compileSdkVersion = 37
targetSdkVersion = 37
kotlinVersion = "1.9.24"
excludeAppGlideModule = true
androidx_lifecycle_version = "2.8.6"
Expand Down Expand Up @@ -77,6 +77,17 @@ allprojects {
maven { url "https://packages.rnd.mendix.com/jcenter" }
}

// android.hardware.fingerprint was removed from the SDK 37 android.jar.
// react-native-touch-id 4.4.1 still compiles against it, so pin that module to SDK 36.
if (project.name == 'react-native-touch-id') {
project.afterEvaluate {
if (project.extensions.findByName('android')) {
project.android.compileSdkVersion 36
project.android.buildToolsVersion '36.0.0'
}
}
}

// Build all modules with Android 16KB pages enabled
plugins.withId('com.android.application') {
android {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android.enableJetifier=true
org.gradle.configureondemand=true
android.disableResourceValidation=true
android.nonTransitiveRClass=true
android.suppressUnsupportedCompileSdk=33
android.suppressUnsupportedCompileSdk=33,37
# enabled by default in RN 0.76 so we need to disable it explicitly
newArchEnabled=false
hermesEnabled=true
Expand Down
Loading