Skip to content

Commit

Permalink
Merge pull request #51 from angrezichatterbox/main
Browse files Browse the repository at this point in the history
fix:Made it release apk
  • Loading branch information
angrezichatterbox authored Jan 27, 2025
2 parents 9e06174 + 50de55e commit 21e693a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ flutter {
source '../..'
}

dependencies {}
dependencies {
implementation 'com.google.errorprone:error_prone_annotations:2.23.0'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
}
10 changes: 10 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Keep Google Error Prone annotations
-keep class com.google.errorprone.annotations.CanIgnoreReturnValue { *; }
-keep class com.google.errorprone.annotations.CheckReturnValue { *; }
-keep class com.google.errorprone.annotations.Immutable { *; }
-keep class com.google.errorprone.annotations.RestrictedApi { *; }

# Keep javax annotations
-keep class javax.annotation.Nullable { *; }
-keep class javax.annotation.concurrent.GuardedBy { *; }

0 comments on commit 21e693a

Please sign in to comment.