If you encounter issues with minification, add the below rules to your application:
Copy
-keepattributes *Annotation*-keep class com.sun.jna.** { *; }-keepclassmembers class com.sun.jna.** { native <methods>; *;}-keep class uniffi.** { *; }# Preserve all public and protected fields and methods-keepclassmembers class ** { public *; protected *;}-dontwarn uniffi.**-dontwarn com.sun.jna.**