Skip to content

Commit 8baab48

Browse files
committed
➕ react-native-vector-icons installed
1 parent a242eae commit 8baab48

File tree

8 files changed

+345
-5
lines changed

8 files changed

+345
-5
lines changed

android/app/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,9 @@ task copyDownloadableDepsToLibs(type: Copy) {
215215
}
216216

217217
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
218+
219+
project.ext.vectoricons = [
220+
iconFontNames: [ 'MaterialIcons.ttf']
221+
]
222+
223+
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

ios/Podfile.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ PODS:
333333
- React-cxxreact (= 0.65.1)
334334
- React-jsi (= 0.65.1)
335335
- React-perflogger (= 0.65.1)
336+
- RNVectorIcons (8.1.0):
337+
- React-Core
336338
- Yoga (1.14.0)
337339
- YogaKit (1.18.1):
338340
- Yoga (~> 1.14)
@@ -388,6 +390,7 @@ DEPENDENCIES:
388390
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
389391
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
390392
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
393+
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
391394
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
392395

393396
SPEC REPOS:
@@ -463,6 +466,8 @@ EXTERNAL SOURCES:
463466
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
464467
ReactCommon:
465468
:path: "../node_modules/react-native/ReactCommon"
469+
RNVectorIcons:
470+
:path: "../node_modules/react-native-vector-icons"
466471
Yoga:
467472
:path: "../node_modules/react-native/ReactCommon/yoga"
468473

@@ -508,6 +513,7 @@ SPEC CHECKSUMS:
508513
React-RCTVibration: 92d41c2442e5328cc4d342cd7f78e5876b68bae5
509514
React-runtimeexecutor: 85187f19dd9c47a7c102f9994f9d14e4dc2110de
510515
ReactCommon: eafed38eec7b591c31751bfa7494801618460459
516+
RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4
511517
Yoga: aa0cb45287ebe1004c02a13f279c55a95f1572f4
512518
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
513519

ios/ReactNativeButtons/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,9 @@
5151
</array>
5252
<key>UIViewControllerBasedStatusBarAppearance</key>
5353
<false/>
54+
<key>UIAppFonts</key>
55+
<array>
56+
<string>MaterialIcons.ttf</string>
57+
</array>
5458
</dict>
5559
</plist>

0 commit comments

Comments
 (0)