Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: Fix apk size increase in v3.0.13

Ammar Ahmed25065c01a0c3
diff --git a/apps/mobile/native/android/app/build.gradle b/apps/mobile/native/android/app/build.gradle
index 4b69beaf1..fd9f5c16e 100644
--- a/apps/mobile/native/android/app/build.gradle
+++ b/apps/mobile/native/android/app/build.gradle
@@ -49,7 +49,6 @@ react {
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
hermesFlags = ["-O", "-output-source-map"]
}
-println(projectDir);
/**
* Set this to true to create two separate APKs instead of one:
@@ -169,8 +168,12 @@ android {
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
+ jniLibs {
+ useLegacyPackaging isBuildingAAB == false
+ }
}
+
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->