"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7315/android/app/proguard-rules.pro" (2 Jun 2023, 3304 Bytes) of package /linux/misc/jitsi-meet-7315.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Prolog source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Add project specific ProGuard rules here.
    2 # By default, the flags in this file are appended to flags specified
    3 # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
    4 # You can edit the include path and order by changing the proguardFiles
    5 # directive in build.gradle.
    6 #
    7 # For more details, see
    8 #   http://developer.android.com/guide/developing/tools/proguard.html
    9 
   10 # Add any project specific keep options here:
   11 
   12 # React Native
   13 
   14 # Keep our interfaces so they can be used by other ProGuard rules.
   15 # See http://sourceforge.net/p/proguard/bugs/466/
   16 -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
   17 -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
   18 -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
   19 
   20 # Do not strip any method/class that is annotated with @DoNotStrip
   21 -keep @com.facebook.proguard.annotations.DoNotStrip class *
   22 -keep @com.facebook.common.internal.DoNotStrip class *
   23 -keepclassmembers class * {
   24     @com.facebook.proguard.annotations.DoNotStrip *;
   25     @com.facebook.common.internal.DoNotStrip *;
   26 }
   27 
   28 -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
   29   void set*(***);
   30   *** get*();
   31 }
   32 
   33 -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
   34 -keep class * extends com.facebook.react.bridge.NativeModule { *; }
   35 -keepclassmembers,includedescriptorclasses class * { native <methods>; }
   36 -keepclassmembers class *  { @com.facebook.react.uimanager.UIProp <fields>; }
   37 -keepclassmembers class *  { @com.facebook.react.uimanager.annotations.ReactProp <methods>; }
   38 -keepclassmembers class *  { @com.facebook.react.uimanager.annotations.ReactPropGroup <methods>; }
   39 
   40 -dontwarn com.facebook.react.**
   41 -keep,includedescriptorclasses class com.facebook.react.bridge.** { *; }
   42 
   43 # okhttp
   44 
   45 -keepattributes Signature
   46 -keepattributes *Annotation*
   47 -keep class okhttp3.** { *; }
   48 -keep interface okhttp3.** { *; }
   49 -dontwarn okhttp3.**
   50 
   51 # okio
   52 
   53 -keep class sun.misc.Unsafe { *; }
   54 -dontwarn java.nio.file.*
   55 -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
   56 -keep class okio.** { *; }
   57 -dontwarn okio.**
   58 
   59 # WebRTC
   60 
   61 -keep class org.webrtc.** { *; }
   62 -dontwarn org.chromium.build.BuildHooksAndroid
   63 
   64 # Jisti Meet SDK
   65 
   66 -keep class org.jitsi.meet.** { *; }
   67 -keep class org.jitsi.meet.sdk.** { *; }
   68 
   69 # We added the following when we switched minifyEnabled on. Probably because we
   70 # ran the app and hit problems...
   71 
   72 -keep class com.facebook.react.bridge.CatalystInstanceImpl { *; }
   73 -keep class com.facebook.react.bridge.ExecutorToken { *; }
   74 -keep class com.facebook.react.bridge.JavaScriptExecutor { *; }
   75 -keep class com.facebook.react.bridge.ModuleRegistryHolder { *; }
   76 -keep class com.facebook.react.bridge.ReadableType { *; }
   77 -keep class com.facebook.react.bridge.queue.NativeRunnable { *; }
   78 -keep class com.facebook.react.devsupport.** { *; }
   79 
   80 -dontwarn com.facebook.react.devsupport.**
   81 -dontwarn com.google.appengine.**
   82 -dontwarn com.squareup.okhttp.**
   83 -dontwarn javax.servlet.**
   84 
   85 # ^^^ We added the above when we switched minifyEnabled on.
   86 
   87 # Rule to avoid build errors related to SVGs.
   88 -keep public class com.horcrux.svg.** {*;}
   89 
   90 # https://github.com/facebook/fresco/issues/2638
   91 -keep public class com.facebook.imageutils.** {
   92    public *;
   93 }