From d767a12e4ededb9b23b4eab5a7dd30cd89d8d210 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 13 Jul 2026 09:10:19 +0200 Subject: [PATCH] Add R8 keep rule for Tink Error Prone annotations (release build) androidx.security-crypto pulls in Tink, which references compile-only com.google.errorprone.annotations.* classes; suppress the R8 missing-class errors so assembleRelease succeeds. Co-Authored-By: Claude Opus 4.8 --- app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 3857f92..f4c48bc 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -6,3 +6,7 @@ -dontwarn okhttp3.** -dontwarn okio.** -keep class okhttp3.** { *; } + +# Tink (via androidx.security-crypto, used for EncryptedSharedPreferences) references +# compile-only Error Prone annotations that aren't present at runtime. +-dontwarn com.google.errorprone.annotations.**