From 125ec4e96f81cdeb9c6df44fa2a0ae281bc0e064 Mon Sep 17 00:00:00 2001 From: Lucas Leblow Date: Tue, 2 Apr 2024 10:02:00 -0700 Subject: [PATCH] fix: Use useLegacyPackaging feature in Gradle (#2384) 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 7ba2de94cd..9bbbdb64c3 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"