diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro index 63c1adb..8a80d95 100644 --- a/android/proguard-rules.pro +++ b/android/proguard-rules.pro @@ -36,3 +36,16 @@ boolean reportFixture(long); float reportRayFixture(long, float, float, float, float, float); } + +# Keep Jackson annotations +-keepattributes *Annotation* +# Retain annotation for @ConstructorProperties +-keep class java.beans.ConstructorProperties { *; } +-keep class org.slf4j.impl.StaticLoggerBinder { *; } + +# Jackson module-parameter-names +-keepnames class com.fasterxml.jackson.** { *; } +-keepclassmembers class com.fasterxml.jackson.** { *; } + +# Keep SLF4J +-keep class org.slf4j.** { *; }