Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(android): keep jni_zero classes for webrtc 155 in R8

Calin-Teodore126d190109d
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro
index c4ffc1fbeb..69f0e56b0c 100644
--- a/android/app/proguard-rules.pro
+++ b/android/app/proguard-rules.pro
@@ -71,6 +71,10 @@
-keep class org.webrtc.** { *; }
-dontwarn org.webrtc.**
-dontwarn org.chromium.build.BuildHooksAndroid
+# WebRTC 155+ native code looks up jni_zero classes by name.
+-keep class org.jni_zero.** { *; }
+-keep class J.N { *; }
+-dontwarn org.jni_zero.**
# Jisti Meet SDK