Skip to content

Commit faf0ffa

Browse files
committed
Example is updated with working one
1 parent 2cad9ab commit faf0ffa

6 files changed

Lines changed: 164 additions & 11 deletions

File tree

example/.prettierrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/ios/Podfile.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ PODS:
296296
- React-Core (= 0.63.3)
297297
- React-cxxreact (= 0.63.3)
298298
- React-jsi (= 0.63.3)
299+
- RNVectorIcons (7.1.0):
300+
- React
299301
- Yoga (1.14.0)
300302
- YogaKit (1.18.1):
301303
- Yoga (~> 1.14)
@@ -347,6 +349,7 @@ DEPENDENCIES:
347349
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
348350
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
349351
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
352+
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
350353
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
351354

352355
SPEC REPOS:
@@ -415,6 +418,8 @@ EXTERNAL SOURCES:
415418
:path: "../node_modules/react-native/Libraries/Vibration"
416419
ReactCommon:
417420
:path: "../node_modules/react-native/ReactCommon"
421+
RNVectorIcons:
422+
:path: "../node_modules/react-native-vector-icons"
418423
Yoga:
419424
:path: "../node_modules/react-native/ReactCommon/yoga"
420425

@@ -455,6 +460,7 @@ SPEC CHECKSUMS:
455460
React-RCTText: 65a6de06a7389098ce24340d1d3556015c38f746
456461
React-RCTVibration: 8e9fb25724a0805107fc1acc9075e26f814df454
457462
ReactCommon: 4167844018c9ed375cc01a843e9ee564399e53c3
463+
RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
458464
Yoga: 7d13633d129fd179e01b8953d38d47be90db185a
459465
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
460466

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,42 @@
442442
);
443443
inputPaths = (
444444
"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh",
445+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
446+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
447+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
448+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
449+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
450+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
451+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
452+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
453+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
454+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
455+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
456+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
457+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
458+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
459+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
460+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
445461
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
446462
);
447463
name = "[CP] Copy Pods Resources";
448464
outputPaths = (
465+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
466+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
467+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
468+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
469+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
470+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
471+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
472+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
473+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
474+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
475+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
476+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
477+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
478+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
479+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
480+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
449481
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
450482
);
451483
runOnlyForDeploymentPostprocessing = 0;
@@ -504,10 +536,42 @@
504536
);
505537
inputPaths = (
506538
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh",
539+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
540+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
541+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
542+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
543+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
544+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
545+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
546+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
547+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
548+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
549+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
550+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
551+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
552+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
553+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
554+
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
507555
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
508556
);
509557
name = "[CP] Copy Pods Resources";
510558
outputPaths = (
559+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
560+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
561+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
562+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
563+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
564+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
565+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
566+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
567+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
568+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
569+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
570+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
571+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
572+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
573+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
574+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
511575
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
512576
);
513577
runOnlyForDeploymentPostprocessing = 0;

example/ios/example/Info.plist

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,24 @@
5353
</array>
5454
<key>UIViewControllerBasedStatusBarAppearance</key>
5555
<false/>
56+
<key>UIAppFonts</key>
57+
<array>
58+
<string>AntDesign.ttf</string>
59+
<string>Entypo.ttf</string>
60+
<string>EvilIcons.ttf</string>
61+
<string>Feather.ttf</string>
62+
<string>FontAwesome.ttf</string>
63+
<string>FontAwesome5_Brands.ttf</string>
64+
<string>FontAwesome5_Regular.ttf</string>
65+
<string>FontAwesome5_Solid.ttf</string>
66+
<string>Foundation.ttf</string>
67+
<string>Ionicons.ttf</string>
68+
<string>MaterialIcons.ttf</string>
69+
<string>MaterialCommunityIcons.ttf</string>
70+
<string>SimpleLineIcons.ttf</string>
71+
<string>Octicons.ttf</string>
72+
<string>Zocial.ttf</string>
73+
<string>Fontisto.ttf</string>
74+
</array>
5675
</dict>
5776
</plist>

example/package-lock.json

Lines changed: 70 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1111
},
1212
"dependencies": {
13-
"@freakycoder/react-native-header-view": "^1.1.0",
13+
"@freakycoder/react-native-bounceable": "^0.2.0",
14+
"@freakycoder/react-native-header-view": "^1.1.1",
1415
"react": "16.13.1",
1516
"react-native": "0.63.3",
1617
"react-native-apple-header": "^0.1.1",
1718
"react-native-classic-header": "^0.1.0",
19+
"react-native-dynamic-vector-icons": "^1.1.4",
1820
"react-native-gorgeous-header": "^0.1.0",
1921
"react-native-modern-header": "^0.1.0",
20-
"react-native-profile-header": "^0.1.1"
22+
"react-native-profile-header": "^0.1.1",
23+
"react-native-vector-icons": "^7.1.0"
2124
},
2225
"devDependencies": {
2326
"@babel/core": "^7.8.4",

0 commit comments

Comments
 (0)