Skip to content

Commit

Permalink
fix(core): add proguard rule to keep JSON deserializers (#10800)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Aug 27, 2024
1 parent c85bb0f commit 22d2afa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/proguard-keep-json-deserializer-classes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Change the Android Proguard rules to keep custom JSON deserializers.
2 changes: 2 additions & 0 deletions core/tauri/mobile/android/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
-keep @app.tauri.annotation.InvokeArg public class * {
*;
}

-keep class * extends com.fasterxml.jackson.databind.JsonDeserializer { *; }

0 comments on commit 22d2afa

Please sign in to comment.