From f89aa2d2ff50bcedcbcfec97baaab9d8e57c1fe7 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Wed, 29 Apr 2020 17:43:18 +0200 Subject: [PATCH] Load only used icon font --- android/app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index 0b9bd63..dbbd33c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -81,6 +81,10 @@ project.ext.react = [ ] apply from: "../../node_modules/react-native/react.gradle" + +project.ext.vectoricons = [ + iconFontNames: [ 'MaterialCommunityIcons.ttf'] // Name of the font files you want to copy +] apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" /**