Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions proguard-rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@

# Safely ignore warnings about other libraries since we are using Gson
-dontwarn com.fasterxml.jackson.**

# Keep Jackson naming strategy fields used via reflection by the Java SDK serializer (BUG-8620).
# When Jackson is on the classpath, JacksonSerializer uses reflection to access SNAKE_CASE.
# Without these rules, R8 obfuscates the field names, causing NoSuchFieldException.
-keepclassmembers class com.fasterxml.jackson.databind.PropertyNamingStrategies {
public static *;
}
-keepclassmembers class com.fasterxml.jackson.databind.PropertyNamingStrategy {
public static *;
}

-dontwarn org.json.**

# Annotations
Expand Down
Loading