Skip to content

Commit 7386c29

Browse files
committed
chore: ensure crash reports are unobfuscated
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 91d63b0 commit 7386c29

3 files changed

Lines changed: 4 additions & 49 deletions

File tree

apps/codeApp/proguard-rules.pro

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@
88
-keepclasseswithmembernames class * {
99
native <methods>;
1010
}
11-
#-keepclasseswithmembers class * {
12-
# public <init>(android.content.Context, android.util.AttributeSet);
13-
#}
14-
15-
#-keepclasseswithmembers class * {
16-
# public <init>(android.content.Context, android.util.AttributeSet, int);
17-
#}
18-
19-
#-keepclassmembers class * extends android.app.Activity {
20-
# public void *(android.view.View);
21-
#}
22-
23-
#-keepclassmembers enum * {
24-
# public static **[] values();
25-
# public static ** valueOf(java.lang.String);
26-
#}
2711

2812
-keepclassmembers class **.R$* {
2913
public static <fields>;
@@ -55,6 +39,7 @@
5539
public static int e(...);
5640
}
5741

42+
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
5843
-keep public class * extends java.lang.Exception
5944
-keep public class * extends com.getcode.network.repository.ErrorSubmitIntent
6045
-keep public class * extends com.getcode.network.repository.ErrorSubmitIntentException

apps/flipcash/app/proguard-rules.pro

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@
88
-keepclasseswithmembernames class * {
99
native <methods>;
1010
}
11-
#-keepclasseswithmembers class * {
12-
# public <init>(android.content.Context, android.util.AttributeSet);
13-
#}
14-
15-
#-keepclasseswithmembers class * {
16-
# public <init>(android.content.Context, android.util.AttributeSet, int);
17-
#}
18-
19-
#-keepclassmembers class * extends android.app.Activity {
20-
# public void *(android.view.View);
21-
#}
22-
23-
#-keepclassmembers enum * {
24-
# public static **[] values();
25-
# public static ** valueOf(java.lang.String);
26-
#}
2711

2812
-keepclassmembers class **.R$* {
2913
public static <fields>;
@@ -50,6 +34,7 @@
5034
public static int e(...);
5135
}
5236

37+
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
5338
-keep public class * extends java.lang.Exception
5439

5540
# https://github.com/firebase/firebase-android-sdk/issues/3688
@@ -59,4 +44,4 @@
5944
# With R8 full mode generic signatures are stripped for classes that are not
6045
# kept. Suspend functions are wrapped in continuations where the type argument
6146
# is used.
62-
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
47+
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

apps/flipchatApp/proguard-rules.pro

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@
88
-keepclasseswithmembernames class * {
99
native <methods>;
1010
}
11-
#-keepclasseswithmembers class * {
12-
# public <init>(android.content.Context, android.util.AttributeSet);
13-
#}
14-
15-
#-keepclasseswithmembers class * {
16-
# public <init>(android.content.Context, android.util.AttributeSet, int);
17-
#}
18-
19-
#-keepclassmembers class * extends android.app.Activity {
20-
# public void *(android.view.View);
21-
#}
22-
23-
#-keepclassmembers enum * {
24-
# public static **[] values();
25-
# public static ** valueOf(java.lang.String);
26-
#}
2711

2812
-keepclassmembers class **.R$* {
2913
public static <fields>;
@@ -55,6 +39,7 @@
5539
public static int e(...);
5640
}
5741

42+
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
5843
-keep public class * extends java.lang.Exception
5944
-keep public class * extends com.getcode.network.repository.ErrorSubmitIntent
6045
-keep public class * extends com.getcode.network.repository.ErrorSubmitIntentException

0 commit comments

Comments
 (0)