Skip to content

Commit 7b72b98

Browse files
committed
chore(example): add react-navigation
1 parent f77a20c commit 7b72b98

File tree

6 files changed

+618
-468
lines changed

6 files changed

+618
-468
lines changed

example/Gemfile.lock

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (6.1.7.10)
9+
concurrent-ruby (~> 1.0, >= 1.0.2)
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
tzinfo (~> 2.0)
13+
zeitwerk (~> 2.3)
14+
addressable (2.8.7)
15+
public_suffix (>= 2.0.2, < 7.0)
16+
algoliasearch (1.27.5)
17+
httpclient (~> 2.8, >= 2.8.3)
18+
json (>= 1.5.1)
19+
atomos (0.1.3)
20+
base64 (0.2.0)
21+
benchmark (0.4.0)
22+
bigdecimal (3.1.9)
23+
claide (1.1.0)
24+
cocoapods (1.15.2)
25+
addressable (~> 2.8)
26+
claide (>= 1.0.2, < 2.0)
27+
cocoapods-core (= 1.15.2)
28+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
29+
cocoapods-downloader (>= 2.1, < 3.0)
30+
cocoapods-plugins (>= 1.0.0, < 2.0)
31+
cocoapods-search (>= 1.0.0, < 2.0)
32+
cocoapods-trunk (>= 1.6.0, < 2.0)
33+
cocoapods-try (>= 1.1.0, < 2.0)
34+
colored2 (~> 3.1)
35+
escape (~> 0.0.4)
36+
fourflusher (>= 2.3.0, < 3.0)
37+
gh_inspector (~> 1.0)
38+
molinillo (~> 0.8.0)
39+
nap (~> 1.0)
40+
ruby-macho (>= 2.3.0, < 3.0)
41+
xcodeproj (>= 1.23.0, < 2.0)
42+
cocoapods-core (1.15.2)
43+
activesupport (>= 5.0, < 8)
44+
addressable (~> 2.8)
45+
algoliasearch (~> 1.0)
46+
concurrent-ruby (~> 1.1)
47+
fuzzy_match (~> 2.0.4)
48+
nap (~> 1.0)
49+
netrc (~> 0.11)
50+
public_suffix (~> 4.0)
51+
typhoeus (~> 1.0)
52+
cocoapods-deintegrate (1.0.5)
53+
cocoapods-downloader (2.1)
54+
cocoapods-plugins (1.0.0)
55+
nap
56+
cocoapods-search (1.0.1)
57+
cocoapods-trunk (1.6.0)
58+
nap (>= 0.8, < 2.0)
59+
netrc (~> 0.11)
60+
cocoapods-try (1.2.0)
61+
colored2 (3.1.2)
62+
concurrent-ruby (1.3.3)
63+
escape (0.0.4)
64+
ethon (0.16.0)
65+
ffi (>= 1.15.0)
66+
ffi (1.17.2)
67+
fourflusher (2.3.1)
68+
fuzzy_match (2.0.4)
69+
gh_inspector (1.1.3)
70+
httpclient (2.9.0)
71+
mutex_m
72+
i18n (1.14.7)
73+
concurrent-ruby (~> 1.0)
74+
json (2.7.6)
75+
logger (1.7.0)
76+
minitest (5.25.4)
77+
molinillo (0.8.0)
78+
mutex_m (0.3.0)
79+
nanaimo (0.3.0)
80+
nap (1.1.0)
81+
netrc (0.11.0)
82+
nkf (0.2.0)
83+
public_suffix (4.0.7)
84+
rexml (3.4.1)
85+
ruby-macho (2.5.1)
86+
typhoeus (1.4.1)
87+
ethon (>= 0.9.0)
88+
tzinfo (2.0.6)
89+
concurrent-ruby (~> 1.0)
90+
xcodeproj (1.25.1)
91+
CFPropertyList (>= 2.3.3, < 4.0)
92+
atomos (~> 0.1.3)
93+
claide (>= 1.0.2, < 2.0)
94+
colored2 (~> 3.1)
95+
nanaimo (~> 0.3.0)
96+
rexml (>= 3.3.6, < 4.0)
97+
zeitwerk (2.6.18)
98+
99+
PLATFORMS
100+
ruby
101+
102+
DEPENDENCIES
103+
activesupport (>= 6.1.7.5, != 7.1.0)
104+
benchmark
105+
bigdecimal
106+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
107+
concurrent-ruby (< 1.3.4)
108+
logger
109+
mutex_m
110+
xcodeproj (< 1.26.0)
111+
112+
RUBY VERSION
113+
ruby 2.6.10p210
114+
115+
BUNDLED WITH
116+
1.17.2

example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ android {
8484
targetSdkVersion rootProject.ext.targetSdkVersion
8585
versionCode 1
8686
versionName "1.0"
87+
multiDexEnabled true
8788
}
8889
signingConfigs {
8990
debug {

example/ios/Podfile.lock

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,81 @@ PODS:
13571357
- React-jsiexecutor
13581358
- React-RCTFBReactNativeSpec
13591359
- ReactCommon/turbomodule/core
1360+
- react-native-safe-area-context (5.4.0):
1361+
- DoubleConversion
1362+
- glog
1363+
- hermes-engine
1364+
- RCT-Folly (= 2024.11.18.00)
1365+
- RCTRequired
1366+
- RCTTypeSafety
1367+
- React-Core
1368+
- React-debug
1369+
- React-Fabric
1370+
- React-featureflags
1371+
- React-graphics
1372+
- React-hermes
1373+
- React-ImageManager
1374+
- React-jsi
1375+
- react-native-safe-area-context/common (= 5.4.0)
1376+
- react-native-safe-area-context/fabric (= 5.4.0)
1377+
- React-NativeModulesApple
1378+
- React-RCTFabric
1379+
- React-renderercss
1380+
- React-rendererdebug
1381+
- React-utils
1382+
- ReactCodegen
1383+
- ReactCommon/turbomodule/bridging
1384+
- ReactCommon/turbomodule/core
1385+
- Yoga
1386+
- react-native-safe-area-context/common (5.4.0):
1387+
- DoubleConversion
1388+
- glog
1389+
- hermes-engine
1390+
- RCT-Folly (= 2024.11.18.00)
1391+
- RCTRequired
1392+
- RCTTypeSafety
1393+
- React-Core
1394+
- React-debug
1395+
- React-Fabric
1396+
- React-featureflags
1397+
- React-graphics
1398+
- React-hermes
1399+
- React-ImageManager
1400+
- React-jsi
1401+
- React-NativeModulesApple
1402+
- React-RCTFabric
1403+
- React-renderercss
1404+
- React-rendererdebug
1405+
- React-utils
1406+
- ReactCodegen
1407+
- ReactCommon/turbomodule/bridging
1408+
- ReactCommon/turbomodule/core
1409+
- Yoga
1410+
- react-native-safe-area-context/fabric (5.4.0):
1411+
- DoubleConversion
1412+
- glog
1413+
- hermes-engine
1414+
- RCT-Folly (= 2024.11.18.00)
1415+
- RCTRequired
1416+
- RCTTypeSafety
1417+
- React-Core
1418+
- React-debug
1419+
- React-Fabric
1420+
- React-featureflags
1421+
- React-graphics
1422+
- React-hermes
1423+
- React-ImageManager
1424+
- React-jsi
1425+
- react-native-safe-area-context/common
1426+
- React-NativeModulesApple
1427+
- React-RCTFabric
1428+
- React-renderercss
1429+
- React-rendererdebug
1430+
- React-utils
1431+
- ReactCodegen
1432+
- ReactCommon/turbomodule/bridging
1433+
- ReactCommon/turbomodule/core
1434+
- Yoga
13601435
- React-NativeModulesApple (0.79.2):
13611436
- glog
13621437
- hermes-engine
@@ -1706,6 +1781,30 @@ PODS:
17061781
- RiveRuntime (= 6.8.1)
17071782
- Yoga
17081783
- RiveRuntime (6.8.1)
1784+
- RNGestureHandler (2.25.0):
1785+
- DoubleConversion
1786+
- glog
1787+
- hermes-engine
1788+
- RCT-Folly (= 2024.11.18.00)
1789+
- RCTRequired
1790+
- RCTTypeSafety
1791+
- React-Core
1792+
- React-debug
1793+
- React-Fabric
1794+
- React-featureflags
1795+
- React-graphics
1796+
- React-hermes
1797+
- React-ImageManager
1798+
- React-jsi
1799+
- React-NativeModulesApple
1800+
- React-RCTFabric
1801+
- React-renderercss
1802+
- React-rendererdebug
1803+
- React-utils
1804+
- ReactCodegen
1805+
- ReactCommon/turbomodule/bridging
1806+
- ReactCommon/turbomodule/core
1807+
- Yoga
17091808
- SocketRocket (0.7.1)
17101809
- Yoga (0.0.0)
17111810

@@ -1751,6 +1850,7 @@ DEPENDENCIES:
17511850
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
17521851
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
17531852
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
1853+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
17541854
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
17551855
- React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`)
17561856
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -1783,6 +1883,7 @@ DEPENDENCIES:
17831883
- ReactCodegen (from `build/generated/ios`)
17841884
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
17851885
- Rive (from `../..`)
1886+
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
17861887
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
17871888

17881889
SPEC REPOS:
@@ -1870,6 +1971,8 @@ EXTERNAL SOURCES:
18701971
:path: "../node_modules/react-native/ReactCommon"
18711972
React-microtasksnativemodule:
18721973
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
1974+
react-native-safe-area-context:
1975+
:path: "../node_modules/react-native-safe-area-context"
18731976
React-NativeModulesApple:
18741977
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
18751978
React-oscompat:
@@ -1934,6 +2037,8 @@ EXTERNAL SOURCES:
19342037
:path: "../node_modules/react-native/ReactCommon"
19352038
Rive:
19362039
:path: "../.."
2040+
RNGestureHandler:
2041+
:path: "../node_modules/react-native-gesture-handler"
19372042
Yoga:
19382043
:path: "../node_modules/react-native/ReactCommon/yoga"
19392044

@@ -1977,6 +2082,7 @@ SPEC CHECKSUMS:
19772082
React-logger: 8edfcedc100544791cd82692ca5a574240a16219
19782083
React-Mapbuffer: c3f4b608e4a59dd2f6a416ef4d47a14400194468
19792084
React-microtasksnativemodule: 054f34e9b82f02bd40f09cebd4083828b5b2beb6
2085+
react-native-safe-area-context: 562163222d999b79a51577eda2ea8ad2c32b4d06
19802086
React-NativeModulesApple: 2c4377e139522c3d73f5df582e4f051a838ff25e
19812087
React-oscompat: ef5df1c734f19b8003e149317d041b8ce1f7d29c
19822088
React-perflogger: 9a151e0b4c933c9205fd648c246506a83f31395d
@@ -2010,6 +2116,7 @@ SPEC CHECKSUMS:
20102116
ReactCommon: 76d2dc87136d0a667678668b86f0fca0c16fdeb0
20112117
Rive: 273bc013df446eeaf8e9049a72033095ec339dde
20122118
RiveRuntime: 1e72d73bea430242387177b9d0aa95126406b462
2119+
RNGestureHandler: ebef699ea17e7c0006c1074e1e423ead60ce0121
20132120
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
20142121
Yoga: c758bfb934100bb4bf9cbaccb52557cee35e8bdf
20152122

example/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@
1010
"build:ios": "react-native build-ios --mode Debug"
1111
},
1212
"dependencies": {
13+
"@react-navigation/native": "^7.1.9",
14+
"@react-navigation/stack": "^7.3.2",
1315
"react": "19.0.0",
1416
"react-native": "0.79.2",
15-
"react-native-nitro-modules": "^0.25.2"
17+
"react-native-gesture-handler": "^2.25.0",
18+
"react-native-nitro-modules": "^0.25.2",
19+
"react-native-safe-area-context": "^5.4.0"
1620
},
1721
"devDependencies": {
1822
"@babel/core": "^7.25.2",

0 commit comments

Comments
 (0)