SHARE
TWEET

ProGuard file

DerpStudios Sep 23rd, 2017 2,394 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     # To enable ProGuard in your project, edit project.properties
  2.     # to define the proguard.config property as described in that file.
  3.     #
  4.     # Add project specific ProGuard rules here.
  5.     # By default, the flags in this file are appended to flags specified
  6.     # in ${sdk.dir}/tools/proguard/proguard-android.txt
  7.     # You can edit the include path and order by changing the ProGuard
  8.     # include property in project.properties.
  9.     #
  10.     # For more details, see
  11.     #   http://developer.android.com/guide/developing/tools/proguard.html
  12.    
  13.     # Add any project specific keep options here:
  14.    
  15.     # Needed to keep the JNI functions around
  16.     -keepclassmembers class com.epicgames.ue4.GameActivity {
  17.         public *;
  18.     }
  19.     -keep class * extends android.media.MediaPlayer {
  20.         public *;
  21.     }
  22.     -keep class com.epicgames.ue4.MediaPlayer14 {
  23.         public *;
  24.     }
  25.     -keep class com.epicgames.ue4.MessageBox01 {
  26.         public *;
  27.     }
  28.     -keep class com.epicgames.ue4.WebViewControl {
  29.         public *;
  30.     }
  31.     -keep class com.epicgames.ue4.BatteryReceiver {
  32.         public *;
  33.     }
  34.     -keep class com.epicgames.ue4.HeadsetReceiver {
  35.         public *;
  36.     }
  37.     -keep class com.epicgames.ue4.VolumeReceiver {
  38.         public *;
  39.     }
  40.     -keep class com.epicgames.ue4.LocalNotificationReceiver {
  41.         public *;
  42.     }
  43.    
  44.     # Needed...
  45.    
  46.     -keep class com.epicgames.ue4.GameActivity$LaunchNotification {
  47.         public *;
  48.     }
  49.    
  50.     -keep class com.epicgames.ue4.GameActivity$InputDeviceInfo {
  51.         public *;
  52.     }
  53.     -keep class com.epicgames.ue4.GameActivity$JavaAchievement {
  54.         public *;
  55.     }
  56.     -keep class com.epicgames.ue4.MediaPlayer14$AudioTrackInfo {
  57.         public *;
  58.     }
  59.     -keep class com.epicgames.ue4.MediaPlayer14$CaptionTrackInfo {
  60.         public *;
  61.     }
  62.     -keep class com.epicgames.ue4.MediaPlayer14$VideoTrackInfo {
  63.         public *;
  64.     }
  65.    
  66.     -keep class com.epicgames.ue4.WebViewControl {
  67.         public *;
  68.     }
  69.    
  70.     -keep class com.epicgames.ue4.WebViewControl$ViewClient {
  71.         public *;
  72.     }
  73.    
  74.     -keep class com.epicgames.ue4.WebViewControl$ChromeClient {
  75.         public *;
  76.     }
  77.    
  78.     # If your project uses WebView with JS, uncomment the following
  79.     # and specify the fully qualified class name to the JavaScript interface
  80.     # class:
  81.     #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  82.     #   public *;
  83.     #}
  84.    
  85.     # Proguard flags for consumers of the Google Play services SDK
  86.     # https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project
  87.    
  88.     -keep class * extends java.util.ListResourceBundle {
  89.         protected Object[][] getContents();
  90.     }
  91.    
  92.     # Keep SafeParcelable value, needed for reflection. This is required to support backwards
  93.     # compatibility of some classes.
  94.     -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
  95.         public static final *** NULL;
  96.     }
  97.    
  98.     # Needed for Parcelable/SafeParcelable classes & their creators to not get renamed, as they are
  99.     # found via reflection.
  100.     -keepnames class * implements android.os.Parcelable
  101.     -keepclassmembers class * implements android.os.Parcelable {
  102.         public static final *** CREATOR;
  103.     }
  104.    
  105.     # Keep the classes/members we need for client functionality.
  106.     -keep @interface android.support.annotation.Keep
  107.     -keep @android.support.annotation.Keep class *
  108.     -keepclasseswithmembers class * {
  109.         @android.support.annotation.Keep <fields>;
  110.     }
  111.     -keepclasseswithmembers class * {
  112.         @android.support.annotation.Keep <methods>;
  113.     }
  114.    
  115.     # Keep the names of classes/members we need for client functionality.
  116.     -keep @interface com.google.android.gms.common.annotation.KeepName
  117.     -keepnames @com.google.android.gms.common.annotation.KeepName class *
  118.     -keepclassmembernames class * {
  119.         @com.google.android.gms.common.annotation.KeepName *;
  120.     }
  121.    
  122.     # Keep Dynamite API entry points
  123.     -keep @interface com.google.android.gms.common.util.DynamiteApi
  124.     -keep public @com.google.android.gms.common.util.DynamiteApi class * {
  125.         public <fields>;
  126.         public <methods>;
  127.     }
  128.    
  129.     # Keep @UsedByReflection and @UsedByNative
  130.     -keep class com.google.android.apps.common.proguard.UsedBy*
  131.     -keep @com.google.android.apps.common.proguard.UsedBy* class *
  132.     -keepclassmembers class * {
  133.         @com.google.android.apps.common.proguard.UsedBy* *;
  134.     }
  135.    
  136.     # Needed when building against pre-Marshmallow SDK.
  137.     -dontwarn android.security.NetworkSecurityPolicy
  138.    
  139.     # Needed when building against Marshmallow SDK.
  140.     -dontwarn android.app.Notification
  141.    
  142.     # End Google Play services requirements
  143.    
  144.     # Additional Google Play Services that seems to be needed
  145.     -keep class com.google.android.gms.games.NativeSdkCallbacks {
  146.         *;
  147.     }
  148.     -keep public class com.google.android.gms.**
  149.     {
  150.         public *;
  151.     }
  152.     -dontwarn com.google.android.gms.**
  153.    
  154.     # Google Play Admob
  155.     -keep public class com.google.android.gms.ads.** {
  156.         public *;
  157.     }
  158.    
  159.     -keep public class com.google.ads.** {
  160.         public *;
  161.     }
  162.    
  163.     # Google Play Billing Services for In-App Purchases
  164.     -keep class com.android.vending.billing.** {
  165.         *;
  166.     }
  167.    
  168.     -keep class com.android.vending.licensing.** {
  169.         *;
  170.     }
  171.    
  172.     -keep class com.google.vending.licensing.** {
  173.         *;
  174.     }
  175.    
  176.     -keep class epicgames.ue4.StoreHelper.** {
  177.         public *;
  178.     }
  179.    
  180.     -keep class epicgames.ue4.GooglePlayStoreHelper.** {
  181.         public *;
  182.     }
  183.    
  184.     -dontwarn com.google.vr.cardboard.AndroidNCompat
  185.     -dontwarn com.google.vr.cardboard.StoragePermissionUtils
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top