From 396ea4ea50fab9202230fe20889ddbf9095484ac Mon Sep 17 00:00:00 2001 From: Lucas Leblow Date: Tue, 26 Mar 2024 15:26:29 -0700 Subject: [PATCH] fix: Use useLegacyPackaging feature in Gradle (#2391) This is a replacement for the deprecated android.bundle.enableUncompressedNativeLibs option that we had been relying on before upgrading React Native and Gradle. --- packages/mobile/android/app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/mobile/android/app/build.gradle b/packages/mobile/android/app/build.gradle index 15c0016729..0a99365830 100644 --- a/packages/mobile/android/app/build.gradle +++ b/packages/mobile/android/app/build.gradle @@ -180,6 +180,10 @@ android { pickFirst 'lib/x86_64/libfbjni.so' pickFirst 'lib/armeabi-v7a/libfbjni.so' pickFirst 'lib/arm64-v8a/libfbjni.so' + + jniLibs { + useLegacyPackaging = true + } } namespace "com.quietmobile"