From 667ad112d404ae8bdaf8dd565e8ca403e3dd19a6 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Tue, 8 Oct 2024 12:27:32 -0400 Subject: [PATCH] Update proguard rules for missing classes (#171) Addresses the errors seen in DefinedNet/mobile_nebula/actions/runs/11221064890/job/31190581077#step:13:1260 Locally I am able to perform most of a release build after removing these proguard rules which were previously added to avoid minification stripping out flutter code. That seems to no longer be required, though. --- android/app/proguard-rules.pro | 8 -------- 1 file changed, 8 deletions(-) diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 51a9fa3..1e909a9 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -1,11 +1,3 @@ -# Flutter Wrapper - this came from guidance at https://medium.com/@swav.kulinski/flutter-and-android-obfuscation-8768ac544421 --keep class io.flutter.app.** { *; } --keep class io.flutter.plugin.** { *; } --keep class io.flutter.util.** { *; } --keep class io.flutter.view.** { *; } --keep class io.flutter.** { *; } --keep class io.flutter.plugins.** { *; } - # Keep our class names for gson -keep class net.defined.mobile_nebula.** { *; } -keep class androidx.security.crypto.** { *; } \ No newline at end of file