kaimo_rtsp_plugin
Version:
RTSP plugin for Capacitor with native AAR support
29 lines (23 loc) • 678 B
Plain Text
# ProGuard rules for rtsp-native AAR consumers
# Keep native methods
-keepclasseswithmembernames class * {
native <methods>;
}
# Keep RTSP JNI classes
-keep class com.mycompany.plugins.rtsp.nativelib.** { *; }
# Keep FFmpeg native libraries
-keep class ** {
native <methods>;
}
# Don't warn about missing classes that are provided by the consumer
-dontwarn com.getcapacitor.**
-dontwarn androidx.**
# Keep enums
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
# Keep Parcelable implementations
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}