Skip to content

Commit ff6c66e

Browse files
feat: Add bottom tabs navigation (#66)
1 parent e16d654 commit ff6c66e

File tree

10 files changed

+245
-74
lines changed

10 files changed

+245
-74
lines changed

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def enableProguardInReleaseBuilds = false
9595
*/
9696
def jscFlavor = 'org.webkit:android-jsc:+'
9797

98+
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")
9899
apply from: "../../node_modules/@sentry/react-native/sentry.gradle"
99100

100101
android {

ios/Podfile.lock

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,27 @@ PODS:
12161216
- React-Core
12171217
- React-hermes
12181218
- Sentry/HybridSDK (= 8.25.0)
1219+
- RNVectorIcons (10.1.0):
1220+
- DoubleConversion
1221+
- glog
1222+
- hermes-engine
1223+
- RCT-Folly (= 2024.01.01.00)
1224+
- RCTRequired
1225+
- RCTTypeSafety
1226+
- React-Codegen
1227+
- React-Core
1228+
- React-debug
1229+
- React-Fabric
1230+
- React-featureflags
1231+
- React-graphics
1232+
- React-ImageManager
1233+
- React-NativeModulesApple
1234+
- React-RCTFabric
1235+
- React-rendererdebug
1236+
- React-utils
1237+
- ReactCommon/turbomodule/bridging
1238+
- ReactCommon/turbomodule/core
1239+
- Yoga
12191240
- Sentry/HybridSDK (8.25.0)
12201241
- SocketRocket (0.7.0)
12211242
- Yoga (0.0.0)
@@ -1281,6 +1302,7 @@ DEPENDENCIES:
12811302
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
12821303
- RNScreens (from `../node_modules/react-native-screens`)
12831304
- "RNSentry (from `../node_modules/@sentry/react-native`)"
1305+
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
12841306
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
12851307

12861308
SPEC REPOS:
@@ -1406,6 +1428,8 @@ EXTERNAL SOURCES:
14061428
:path: "../node_modules/react-native-screens"
14071429
RNSentry:
14081430
:path: "../node_modules/@sentry/react-native"
1431+
RNVectorIcons:
1432+
:path: "../node_modules/react-native-vector-icons"
14091433
Yoga:
14101434
:path: "../node_modules/react-native/ReactCommon/yoga"
14111435

@@ -1468,6 +1492,7 @@ SPEC CHECKSUMS:
14681492
RNGestureHandler: 2282cfbcf86c360d29f44ace393203afd5c6cff7
14691493
RNScreens: b32a9ff15bea7fcdbe5dff6477bc503f792b1208
14701494
RNSentry: f6a5aee809d646763640130714d1fdfe69aac36b
1495+
RNVectorIcons: 2a2f79274248390b80684ea3c4400bd374a15c90
14711496
Sentry: cd86fc55628f5b7c572cabe66cc8f95a9d2f165a
14721497
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
14731498
Yoga: 348f8b538c3ed4423eb58a8e5730feec50bce372

ios/sentry_react_native.xcodeproj/project.pbxproj

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -604,10 +604,7 @@
604604
"-DFOLLY_CFG_NO_COROUTINES=1",
605605
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
606606
);
607-
OTHER_LDFLAGS = (
608-
"$(inherited)",
609-
" ",
610-
);
607+
OTHER_LDFLAGS = "$(inherited) ";
611608
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
612609
SDKROOT = iphoneos;
613610
USE_HERMES = true;
@@ -680,10 +677,7 @@
680677
"-DFOLLY_CFG_NO_COROUTINES=1",
681678
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
682679
);
683-
OTHER_LDFLAGS = (
684-
"$(inherited)",
685-
" ",
686-
);
680+
OTHER_LDFLAGS = "$(inherited) ";
687681
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
688682
SDKROOT = iphoneos;
689683
USE_HERMES = true;

ios/sentry_react_native/Info.plist

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<true />
2727
<key>NSAppTransportSecurity</key>
2828
<dict>
29-
<!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
29+
<!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
3030
<key>NSAllowsArbitraryLoads</key>
3131
<false/>
3232
<key>NSAllowsLocalNetworking</key>
@@ -48,5 +48,27 @@
4848
</array>
4949
<key>UIViewControllerBasedStatusBarAppearance</key>
5050
<false />
51+
<key>UIAppFonts</key>
52+
<array>
53+
<string>AntDesign.ttf</string>
54+
<string>Entypo.ttf</string>
55+
<string>EvilIcons.ttf</string>
56+
<string>Feather.ttf</string>
57+
<string>FontAwesome.ttf</string>
58+
<string>FontAwesome5_Brands.ttf</string>
59+
<string>FontAwesome5_Regular.ttf</string>
60+
<string>FontAwesome5_Solid.ttf</string>
61+
<string>FontAwesome6_Brands.ttf</string>
62+
<string>FontAwesome6_Regular.ttf</string>
63+
<string>FontAwesome6_Solid.ttf</string>
64+
<string>Foundation.ttf</string>
65+
<string>Ionicons.ttf</string>
66+
<string>MaterialIcons.ttf</string>
67+
<string>MaterialCommunityIcons.ttf</string>
68+
<string>SimpleLineIcons.ttf</string>
69+
<string>Octicons.ttf</string>
70+
<string>Zocial.ttf</string>
71+
<string>Fontisto.ttf</string>
72+
</array>
5173
</dict>
5274
</plist>

package-lock.json

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

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"postinstall": "patch-package"
1313
},
1414
"dependencies": {
15+
"@react-navigation/bottom-tabs": "^6.5.20",
1516
"@react-navigation/native": "^6.1.17",
1617
"@react-navigation/native-stack": "^6.9.26",
1718
"@react-navigation/stack": "^6.3.29",
@@ -25,6 +26,7 @@
2526
"react-native-safe-area-context": "^4.8.2",
2627
"react-native-screens": "^3.31.0",
2728
"react-native-toast-message": "^2.1.6",
29+
"react-native-vector-icons": "^10.1.0",
2830
"react-redux": "^8.1.2",
2931
"redux": "^4.2.1"
3032
},

0 commit comments

Comments
 (0)