10 lines
415 B
Prolog
10 lines
415 B
Prolog
|
|
# Applied to any app that depends on :sdk (AAR consumer rules).
|
||
|
|
#
|
||
|
|
# UniFFI calls back into Kotlin from the Rust side over JNI, so the generated
|
||
|
|
# classes are reachable only via reflection/native lookup. Without these keeps
|
||
|
|
# an R8-enabled consumer app strips them and fails at load time.
|
||
|
|
-keep class uniffi.onionwire_sdk.** { *; }
|
||
|
|
-keepclasseswithmembernames class uniffi.onionwire_sdk.** {
|
||
|
|
native <methods>;
|
||
|
|
}
|