From b681905abd555be0614df7c9d2ce36a76165224a Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 5 Aug 2025 09:42:53 +0000 Subject: [PATCH] Upgrade Android API from 35 to 36 Update Android SDK configuration to target API 36 (Android 16): - Update compileSdkVersion and targetSdkVersion from 35 to 36 - Update suppressUnsupportedCompileSdk from 34 to 36 - Maintains minSdkVersion at 22 for broad device compatibility - Verified build system compatibility with Gradle 8.13 --- android/app/build.gradle | 8 ++++++++ android/gradle.properties | 2 +- android/variables.gradle | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 0843dce8..82d3c92d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -64,6 +64,14 @@ android { } } } + packagingOptions { + jniLibs { + pickFirsts += ['**/lib/x86_64/libbarhopper_v3.so', '**/lib/x86_64/libimage_processing_util_jni.so', '**/lib/x86_64/libsqlcipher.so'] + } + } + + // Configure for 16 KB page size compatibility + // Enable bundle builds (without which it doesn't work right for bundleDebug vs bundleRelease) bundle { diff --git a/android/gradle.properties b/android/gradle.properties index 5e735fd3..8ea85815 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -20,4 +20,4 @@ org.gradle.jvmargs=-Xmx1536m # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -android.suppressUnsupportedCompileSdk=34 +android.suppressUnsupportedCompileSdk=36 diff --git a/android/variables.gradle b/android/variables.gradle index 8ef305d0..ef1f5519 100644 --- a/android/variables.gradle +++ b/android/variables.gradle @@ -1,7 +1,7 @@ ext { minSdkVersion = 22 - compileSdkVersion = 34 - targetSdkVersion = 34 + compileSdkVersion = 36 + targetSdkVersion = 36 androidxActivityVersion = '1.8.0' androidxAppCompatVersion = '1.6.1' androidxCoordinatorLayoutVersion = '1.2.0'