From 53109e0696dbe33c3912a54b1a8dd0687dc3ee96 Mon Sep 17 00:00:00 2001 From: stelselim Date: Mon, 27 Jul 2026 14:08:38 +0200 Subject: [PATCH 1/2] chore: update build tools and SDK versions to 37.0.0 --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 25039597..f98ecadf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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" From ee93b5cd5b292dc3ac68a487d9693f87192f834b Mon Sep 17 00:00:00 2001 From: stelselim Date: Tue, 28 Jul 2026 16:29:25 +0200 Subject: [PATCH 2/2] chore: pin react-native-touch-id to SDK 36 and update unsupported compile SDK settings --- android/build.gradle | 11 +++++++++++ android/gradle.properties | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index f98ecadf..d535e54e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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 { diff --git a/android/gradle.properties b/android/gradle.properties index 5242dcc4..6fc525ca 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -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