Skip to content

Commit

Permalink
fix:Made it release apk
Browse files Browse the repository at this point in the history
  • Loading branch information
angrezichatterbox committed Jan 27, 2025
1 parent bd208ef commit 50de55e
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 50de55e

Please sign in to comment.