# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more details, see # https://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # Play Core Proguard Rules: Play In-app Review Start -keep class com.google.android.play.core.review.ReviewManager { public com.google.android.play.core.tasks.Task requestReviewFlow(); public com.google.android.play.core.tasks.Task launchReviewFlow(android.app.Activity, com.google.android.play.core.review.ReviewInfo); } -keepnames class com.google.android.play.core.review.ReviewInfo -keep class com.google.android.play.core.review.ReviewManagerFactory { (); public static com.google.android.play.core.review.ReviewManager create(android.content.Context); } -keep class com.google.android.play.core.review.testing.FakeReviewManager { public (android.content.Context); public com.google.android.play.core.tasks.Task requestReviewFlow(); public com.google.android.play.core.tasks.Task launchReviewFlow(android.app.Activity, com.google.android.play.core.review.ReviewInfo); } # Play Core Proguard Rules: Play In-app Review End #-keep class org.infobip.reactlibrary.mobilemessaging.Configuration* { *; } #-keep class org.infobip.reactlibrary.mobilemessaging.CacheManager* { *; } -keep class com.huawei.**{*;} # Disabling obfuscation is useful if you collect stack traces from production crashes # (unless you are using a system that supports de-obfuscate the stack traces). # -dontobfuscate # React Native # Keep our interfaces so they can be used by other ProGuard rules. # See https://sourceforge.net/p/proguard/bugs/466/ -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip # Do not strip any method/class that is annotated with @DoNotStrip -keep @com.facebook.proguard.annotations.DoNotStrip class * -keep @com.facebook.common.internal.DoNotStrip class * -keepclassmembers class * { @com.facebook.proguard.annotations.DoNotStrip *; @com.facebook.common.internal.DoNotStrip *; } -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { void set*(***); *** get*(); } -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } -keep class * extends com.facebook.react.bridge.NativeModule { *; } -keepclassmembers,includedescriptorclasses class * { native ; } -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } -dontwarn com.facebook.react.** -keep,includedescriptorclasses class com.facebook.react.bridge.** { *; } # okhttp -keepattributes Signature -keepattributes *Annotation* -keep class okhttp3.** { *; } -keep interface okhttp3.** { *; } -dontwarn okhttp3.** -keep class com.facebook.react.devsupport.** { *; } -dontwarn com.facebook.react.devsupport.** # okio -keep class com.mypackage.BuildConfig { *; } -keep class sun.misc.Unsafe { *; } -dontwarn java.nio.file.* -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement -dontwarn okio.** -keep class io.invertase.firebase.** { *; } -dontwarn io.invertase.firebase.** -keep class com.facebook.jni.** { *; } -ignorewarnings -keepattributes *Annotation* -keepattributes Exceptions -keepattributes InnerClasses -keepattributes SourceFile,LineNumberTable -keep class com.hianalytics.android.**{*;} -keep class com.huawei.updatesdk.**{*;} -keep class com.huawei.hms.**{*;}