From d7958ff8011f95e390387a84a096882b8bf08f14 Mon Sep 17 00:00:00 2001 From: Daniel Kift Date: Tue, 26 May 2026 12:12:05 +0100 Subject: [PATCH] raise minsdk in react native --- platforms/react-native/README.md | 6 +++--- .../@shopify/checkout-kit-react-native/android/build.gradle | 3 +-- .../checkout-kit-react-native/android/gradle.properties | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/platforms/react-native/README.md b/platforms/react-native/README.md index 6665ac63..dc9b51ea 100644 --- a/platforms/react-native/README.md +++ b/platforms/react-native/README.md @@ -68,7 +68,7 @@ experiences. - **React Native** - Minimum version `0.76` (v4+) / `0.70` (v3 and earlier) - **iOS** - Minimum version iOS 13 -- **Android** - Minimum Java 11 & Android SDK version `23` +- **Android** - Minimum Java 11 & Android SDK version `24` ## Version Compatibility @@ -108,7 +108,7 @@ npm install @shopify/checkout-kit-react-native ### 2. Minimum Android requirements Check the `minSdkVersion` property in your `android/build.gradle` file is at -least `23`. +least `24`. ```diff // android/build.gradle @@ -116,7 +116,7 @@ buildscript { ext { buildToolsVersion = "33.0.0" - minSdkVersion = 21 -+ minSdkVersion = 23 ++ minSdkVersion = 24 compileSdkVersion = 33 targetSdkVersion = 33 } diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/build.gradle b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/build.gradle index b0ac6416..05d8c0de 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/build.gradle +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/build.gradle @@ -26,7 +26,7 @@ static def supportsNamespace() { } buildToolsVersion = "35.0.0" -minSdkVersion = 23 +minSdkVersion = 24 compileSdkVersion = 36 targetSdkVersion = 35 @@ -99,4 +99,3 @@ dependencies { implementation("com.fasterxml.jackson.core:jackson-databind:2.12.5") debugImplementation(shopifySdkArtifact) } - diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/gradle.properties b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/gradle.properties index 08a3c77a..532fc7bd 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/gradle.properties +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/gradle.properties @@ -1,4 +1,4 @@ -minSdkVersion=23 +minSdkVersion=24 targetSdkVersion=35 compileSdkVersion=36 ndkVersion=23.1.7779620