From b7e24d4dec68b7f52d9009d14a0aa895677e8d63 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Wed, 28 Sep 2022 15:01:49 +1300 Subject: [PATCH] Specify MaterialIcons for react-native-vector-icons I believe this reduces the app bundle size. Closes #61 --- android/app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index dfdaf5d..736ff42 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -7,6 +7,10 @@ project.ext.react = [ enableHermes: false, // clean and rebuild if changing ] +project.ext.vectoricons = [ + iconFontNames: ['MaterialIcons.ttf'] +] + apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"