From 389992fca0b09a4678010285c981dd154f283e8b Mon Sep 17 00:00:00 2001 From: Kamran Khan <43128049+khank8476@users.noreply.github.com> Date: Mon, 15 Jun 2026 21:23:06 +0530 Subject: [PATCH] Fix: Remove global ProGuard flag to support AGP 8.0+ In Android Gradle Plugin (AGP) 8.0 and above, using global keep options like -flattenpackagehierarchy in a consumer proguard file causes a fatal build error. I have commented this line out to restore AGP 8.0+ compatibility, but please review to ensure this does not break obfuscation routing for older Gradle versions. --- android/consumer-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/consumer-rules.pro b/android/consumer-rules.pro index 05f9333..c33b60d 100644 --- a/android/consumer-rules.pro +++ b/android/consumer-rules.pro @@ -1 +1 @@ --flattenpackagehierarchy \ No newline at end of file +# -flattenpackagehierarchy