Adrian Niculescu
Committed by GitHub

Fixed ProGuard rules to keep JniInit class for WebRTC native registration (#735) (#736)

* Fixed ProGuard rules to keep JniInit class for WebRTC native registration (#735)

* Added changeset for ProGuard JniInit fix
---
"client-sdk-android": patch
---
Fixed ProGuard rules to keep JniInit class for WebRTC native registration (#735)
\ No newline at end of file
... ...
... ... @@ -24,6 +24,12 @@
#########################################
-keep class livekit.org.webrtc.** { *; }
# JNI Zero initialization (required for WebRTC native method registration)
-keep class livekit.org.jni_zero.JniInit {
# Keep the init method un-obfuscated for native code callback
private static java.lang.Object[] init();
}
# NIST sdp parser
#########################################
-keep class android.gov.nist.** { *; }
... ...