feat(build): Implement flavor-specific barcode scanning and build improvements (#4611)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2026-02-20 18:47:54 -06:00 committed by GitHub
parent 96d4027f74
commit e720a393ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 272 additions and 8 deletions

View file

@ -128,6 +128,16 @@ configure<ApplicationExtension> {
}
ndk { abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64") }
// Enable ABI splits to generate smaller APKs per architecture for F-Droid/IzzyOnDroid
splits {
abi {
isEnable = true
reset()
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
isUniversalApk = true
}
}
dependenciesInfo {
// Disables dependency metadata when building APKs (for IzzyOnDroid/F-Droid)
includeInApk = false