We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c901d9f commit be18ed5Copy full SHA for be18ed5
.changes/fix-android-proguard.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch:bug
3
4
+
5
+Add a Proguard rule to prevent custom JSON deserializer and serializer classes from being optimized away.
crates/tauri/mobile/android/proguard-rules.pro
@@ -28,4 +28,14 @@
28
*;
29
}
30
31
+-keep @com.fasterxml.jackson.databind.annotation.JsonDeserialize public class * {
32
+ *;
33
+}
34
35
+-keep @com.fasterxml.jackson.databind.annotation.JsonSerialize public class * {
36
37
38
39
-keep class * extends com.fasterxml.jackson.databind.JsonDeserializer { *; }
40
41
+-keep class * extends com.fasterxml.jackson.databind.JsonSerializer { *; }
0 commit comments