diff --git a/.changes/proguard-keep-json-deserializer-classes.md b/.changes/proguard-keep-json-deserializer-classes.md new file mode 100644 index 000000000000..4d0f509f1fe6 --- /dev/null +++ b/.changes/proguard-keep-json-deserializer-classes.md @@ -0,0 +1,5 @@ +--- +"tauri": patch:bug +--- + +Change the Android Proguard rules to keep custom JSON deserializers. diff --git a/core/tauri/mobile/android/proguard-rules.pro b/core/tauri/mobile/android/proguard-rules.pro index a461a5556f35..ab44933621d1 100644 --- a/core/tauri/mobile/android/proguard-rules.pro +++ b/core/tauri/mobile/android/proguard-rules.pro @@ -27,3 +27,5 @@ -keep @app.tauri.annotation.InvokeArg public class * { *; } + +-keep class * extends com.fasterxml.jackson.databind.JsonDeserializer { *; }