From 9c6ac13be71f440d5cd93036e30df7c398700f70 Mon Sep 17 00:00:00 2001 From: MUEDSA <7676275+muedsa@users.noreply.github.com> Date: Fri, 19 Jul 2024 13:38:31 +0800 Subject: [PATCH] fix: firebase init failure --- app/proguard-rules.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 11895e0..38c98cc 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -82,4 +82,8 @@ # With R8 full mode generic signatures are stripped for classes that are not kept. -keep,allowobfuscation,allowshrinking class retrofit2.Response --keep public class * extends java.lang.Exception # Optional: Keep custom exceptions. \ No newline at end of file +# Optional: Keep custom exceptions. +-keep public class * extends java.lang.Exception + +# Firebase +-keep class com.google.firebase.** { *; } \ No newline at end of file