Files
super-app/android/navi-insurance/proguard-rules.pro

100 lines
2.6 KiB
Prolog
Raw Normal View History

2021-10-21 17:52:09 +05:30
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keepclassmembers enum * { *; }
-ignorewarnings
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
-assumenosideeffects class java.io.PrintStream {
public void println(%);
public void println(**);
}
-keep class **.models.** { *; }
#Gson specific classes
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
-keep class com.google.gson.FieldNamingStrategy { *; }
-keep class com.google.gson.Gson.** { *; }
#play services
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
-keepclassmembers class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-dontwarn org.jetbrains.annotations.**
#joda time
-dontwarn org.joda.convert.FromString
-dontwarn org.joda.convert.ToString
-keep class org.joda.** { *; }
#Razor Pay STD intg
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
-keepattributes JavascriptInterface
-keepattributes *Annotation*
-optimizations !method/inlining/*
-keepclasseswithmembers class * {
public void onPayment*(...);
}
# end of razor pay
#Firebase Crashlytcis
-keep public class * extends java.lang.Exception
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**
-keepclassmembers class * {
public static ** Companion;
}
-dontwarn com.google.android.gms.location.**
-keep class com.google.android.gms.location.** { *; }
#For install referrer
-keep public class com.android.installreferrer.** { *; }
-keep class com.appsflyer.** { *; }