From eb7b5baa4bb0ad940ef8558d11f155f33603ff66 Mon Sep 17 00:00:00 2001 From: Lucas Leblow Date: Fri, 22 Mar 2024 14:48:56 -0700 Subject: [PATCH] fix: Use useLegacyPackaging feature in Gradle 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"