Permalink
Browse files

remove fresco proguard rules

Summary:
Fresco now maintain proguard rules by itself (facebook/fresco#2075), so it won't be necessary for react native copy its rules.
Run RNTTester Android app in release mode, app build successful and won't crash in ImageModule.

none

 [ANDROID] [BUGFIX] [PROGUARD] - remove fresco proguard rules
Closes #19040

Differential Revision: D7992146

Pulled By: hramos

fbshipit-source-id: 9ee3dd4c6756472395ec9e36a967b469f0760999
  • Loading branch information...
gengjiawen authored and facebook-github-bot committed May 14, 2018
1 parent a83cddf commit 07df36557c8cbbaee5e870460162aa725a606ff4
Showing with 0 additions and 19 deletions.
  1. +0 −19 ReactAndroid/proguard-rules.pro
@@ -69,22 +69,3 @@
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-dontwarn okio.**
# Fresco
# Keep our interfaces so they can be used by other ProGuard rules.
# See http://sourceforge.net/p/proguard/bugs/466/
-keep,allowobfuscation @interface com.facebook.soloader.DoNotOptimize
# Do not strip any method/class that is annotated with @DoNotOptimize
-keep @com.facebook.soloader.DoNotOptimize class *
-keepclassmembers class * {
@com.facebook.soloader.DoNotOptimize *;
}
# Keep native methods
-keepclassmembers class * {
native <methods>;
}
-dontwarn javax.annotation.**
-dontwarn com.facebook.infer.**

0 comments on commit 07df365

Please sign in to comment.