From 8bf6b0836c5c6255db93a23c582abb96ae044381 Mon Sep 17 00:00:00 2001 From: Nate Isern Date: Fri, 25 Sep 2026 06:07:10 +0300 Subject: [PATCH] android: keep the prefixed jni_zero classes in consumer rules The prefixed artifact (#102) relocates jni_zero to livekit.org.jni_zero, but the consumer rule still keeps org.jni_zero. With R8 enabled the relocated JniInit is stripped and JNI_OnLoad aborts at startup. --- android/consumer-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/consumer-rules.pro b/android/consumer-rules.pro index a2e4597bd..f3f524924 100644 --- a/android/consumer-rules.pro +++ b/android/consumer-rules.pro @@ -1,3 +1,3 @@ # WebRTC -keep class livekit.org.webrtc.** { *; } --keep class org.jni_zero.** { *; } +-keep class livekit.org.jni_zero.** { *; }