From 3f70055b6c6e754b0d15a8869e36b4fbb0625336 Mon Sep 17 00:00:00 2001 From: Mikael Sand Date: Sun, 1 Sep 2019 16:09:44 +0300 Subject: [PATCH] Update README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2035dc2e..91396ceb 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,13 @@ and run `pod install` from `ios` folder ### Troubleshooting +#### Problems with Proguard +When Proguard is enabled (which it is by default for Android release builds), it causes runtine error +To avoid this, add an exception to `android/app/proguard-rules.pro`: +```bash +-keep public class com.horcrux.svg.** {*;} +``` + If you have build errors, then it might be caused by caching issues, please try: ```bash @@ -1103,11 +1110,3 @@ yarn ### Known issues: 1. Unable to apply focus point of RadialGradient on Android. - -### Troubleshooting -##### Problems with Proguard -When Proguard is enabled (which it is by default for Android release builds), it causes runtine error -To avoid this, add an exception to `android/app/proguard-rules.pro`: -```bash --keep public class com.horcrux.svg.** {*;} -```