From eb23f85b1bb78764800c069ce7bd4d1e436c388c Mon Sep 17 00:00:00 2001 From: Arne Date: Fri, 5 Apr 2024 05:55:39 +0200 Subject: [PATCH] Keep line numbers and stuff in prod (cherry picked from commit 61601566f73d78735c9fcc86d137737d4a4576e0) --- proguard-rules.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proguard-rules.pro b/proguard-rules.pro index eb8c57688..75902f079 100644 --- a/proguard-rules.pro +++ b/proguard-rules.pro @@ -101,3 +101,5 @@ # R8 full mode strips generic signatures from return types if not kept. -if interface * { @retrofit2.http.* public *** *(...); } -keep,allowoptimization,allowshrinking,allowobfuscation class <3> + +-keepattributes *Annotation*,SourceFile,LineNumberTable