Skip to content

Commit

Permalink
fix(android): proguard removing native methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppzippy committed Jan 3, 2024
1 parent 67102c5 commit 878361e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@
# Some of the methods are native, and others are called by native code. We can do 'native <method>'
# to match native methods, but there's no easy way to do the same for java methods called from
# native code. Just keep everything native related instead.
-keep class com.oppzippy.openscq30.lib.** { *; }
-keep class com.oppzippy.openscq30.lib.bindings.** { *; }
-keep class com.sun.jna.** { *; }
-dontwarn java.awt.*

0 comments on commit 878361e

Please sign in to comment.