From f31e8d6a3e752269b84fbf3d6017c1480c58c0f0 Mon Sep 17 00:00:00 2001 From: Dylan Vann Date: Thu, 26 Apr 2018 22:58:05 -0400 Subject: [PATCH] Add note about Proguard. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d8ec1c7..1294059 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,13 @@ const YourImage = () => /> ``` +If you use Proguard you will need to add these lines to `android/app/proguard-rules.pro`: + +``` +-keep public class com.dylanvann.fastimage.* {*;} +-keep public class com.dylanvann.fastimage.** {*;} +``` + ## Other Linking Methods - [Manual](docs/installation-manual.md) (might be needed if something went wrong with `react-native link`)