Initial commit
This commit is contained in:
61
android/app/proguard-rules.pro
vendored
Normal file
61
android/app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# 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
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# React Native
|
||||
-keep class com.facebook.react.** { *; }
|
||||
-keep class com.facebook.hermes.** { *; }
|
||||
-keep class com.swmansion.reanimated.** { *; }
|
||||
|
||||
# React Navigation
|
||||
-keep class com.swmansion.rnscreens.** { *; }
|
||||
-keep class com.swmansion.rngesturehandler.** { *; }
|
||||
-keep class com.facebook.jni.** { *; }
|
||||
-keep class com.facebook.hermes.unicode.** { *; }
|
||||
-keep class com.swmansion.reanimated.** { *; }
|
||||
|
||||
# AsyncStorage
|
||||
-keep class com.reactnativecommunity.asyncstorage.** { *; }
|
||||
|
||||
# SVG
|
||||
-keep class com.horcrux.svg.** { *; }
|
||||
|
||||
# Vector Icons
|
||||
-keep class com.oblador.vectoricons.** { *; }
|
||||
|
||||
# Performance optimizations
|
||||
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
|
||||
-optimizationpasses 5
|
||||
-allowaccessmodification
|
||||
|
||||
# Keep native methods
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
# Keep React Native bridge
|
||||
-keep class com.facebook.react.bridge.** { *; }
|
||||
-keep class com.facebook.react.uimanager.** { *; }
|
||||
|
||||
-keep class com.google.firebase.** { *; }
|
||||
-keep class com.google.android.gms.** { *; }
|
||||
-dontwarn okhttp3.**
|
||||
-keep class okhttp3.** { *; }
|
||||
-dontwarn okio.**
|
||||
-keep class okio.** { *; }
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# Keep your app's main activity
|
||||
-keep class uz.felix.cpost.MainActivity { *; }
|
||||
-keep class uz.felix.cpost.MainApplication { *; }
|
||||
|
||||
-keepattributes *Annotation*
|
||||
-keepattributes InnerClasses
|
||||
-keepattributes EnclosingMethod
|
||||
Reference in New Issue
Block a user