Skip to content

Commit

Permalink
fixing proguard issue in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilay-squareup committed Aug 26, 2024
1 parent bdc1246 commit 7490ec4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
Expand Down
5 changes: 5 additions & 0 deletions example/android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Keep rules for missing classes
-keep class com.google.j2objc.annotations.** { *; }
-keep class com.squareup.shared.catalog.** { *; }

# Add other keep rules as needed

0 comments on commit 7490ec4

Please sign in to comment.