Skip to content

Commit

Permalink
fix: Exclude react-native-svg from Proguard configuration
Browse files Browse the repository at this point in the history
Enabling Proguard did make the application crash on login when calling
the transition animation

This is because react-native-svg is not compatible with Proguard

This commit excludes all react-native-svg namespaces from the Proguard
configuration

More info: indiespirit/react-native-chart-kit#115
More info: https://www.guardsquare.com/manual/configuration/examples
  • Loading branch information
Ldoppea committed Sep 2, 2022
1 parent d216e9c commit 2304312
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

-keep public class com.horcrux.svg.** {*;}

0 comments on commit 2304312

Please sign in to comment.