Skip to content

Commit f72acb5

Browse files
committed
feat: proper layout handling
1 parent 59161b5 commit f72acb5

28 files changed

Lines changed: 1225 additions & 661 deletions

example/ios/Podfile.lock

Lines changed: 187 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,6 +1920,93 @@ PODS:
19201920
- ReactCommon/turbomodule/core
19211921
- SocketRocket
19221922
- Yoga
1923+
- react-native-safe-area-context (5.6.2):
1924+
- boost
1925+
- DoubleConversion
1926+
- fast_float
1927+
- fmt
1928+
- glog
1929+
- hermes-engine
1930+
- RCT-Folly
1931+
- RCT-Folly/Fabric
1932+
- RCTRequired
1933+
- RCTTypeSafety
1934+
- React-Core
1935+
- React-debug
1936+
- React-Fabric
1937+
- React-featureflags
1938+
- React-graphics
1939+
- React-ImageManager
1940+
- React-jsi
1941+
- react-native-safe-area-context/common (= 5.6.2)
1942+
- react-native-safe-area-context/fabric (= 5.6.2)
1943+
- React-NativeModulesApple
1944+
- React-RCTFabric
1945+
- React-renderercss
1946+
- React-rendererdebug
1947+
- React-utils
1948+
- ReactCodegen
1949+
- ReactCommon/turbomodule/bridging
1950+
- ReactCommon/turbomodule/core
1951+
- SocketRocket
1952+
- Yoga
1953+
- react-native-safe-area-context/common (5.6.2):
1954+
- boost
1955+
- DoubleConversion
1956+
- fast_float
1957+
- fmt
1958+
- glog
1959+
- hermes-engine
1960+
- RCT-Folly
1961+
- RCT-Folly/Fabric
1962+
- RCTRequired
1963+
- RCTTypeSafety
1964+
- React-Core
1965+
- React-debug
1966+
- React-Fabric
1967+
- React-featureflags
1968+
- React-graphics
1969+
- React-ImageManager
1970+
- React-jsi
1971+
- React-NativeModulesApple
1972+
- React-RCTFabric
1973+
- React-renderercss
1974+
- React-rendererdebug
1975+
- React-utils
1976+
- ReactCodegen
1977+
- ReactCommon/turbomodule/bridging
1978+
- ReactCommon/turbomodule/core
1979+
- SocketRocket
1980+
- Yoga
1981+
- react-native-safe-area-context/fabric (5.6.2):
1982+
- boost
1983+
- DoubleConversion
1984+
- fast_float
1985+
- fmt
1986+
- glog
1987+
- hermes-engine
1988+
- RCT-Folly
1989+
- RCT-Folly/Fabric
1990+
- RCTRequired
1991+
- RCTTypeSafety
1992+
- React-Core
1993+
- React-debug
1994+
- React-Fabric
1995+
- React-featureflags
1996+
- React-graphics
1997+
- React-ImageManager
1998+
- React-jsi
1999+
- react-native-safe-area-context/common
2000+
- React-NativeModulesApple
2001+
- React-RCTFabric
2002+
- React-renderercss
2003+
- React-rendererdebug
2004+
- React-utils
2005+
- ReactCodegen
2006+
- ReactCommon/turbomodule/bridging
2007+
- ReactCommon/turbomodule/core
2008+
- SocketRocket
2009+
- Yoga
19232010
- React-NativeModulesApple (0.83.0):
19242011
- boost
19252012
- DoubleConversion
@@ -2505,6 +2592,93 @@ PODS:
25052592
- ReactCommon/turbomodule/core
25062593
- SocketRocket
25072594
- Yoga
2595+
- RNGestureHandler (2.29.1):
2596+
- boost
2597+
- DoubleConversion
2598+
- fast_float
2599+
- fmt
2600+
- glog
2601+
- hermes-engine
2602+
- RCT-Folly
2603+
- RCT-Folly/Fabric
2604+
- RCTRequired
2605+
- RCTTypeSafety
2606+
- React-Core
2607+
- React-debug
2608+
- React-Fabric
2609+
- React-featureflags
2610+
- React-graphics
2611+
- React-ImageManager
2612+
- React-jsi
2613+
- React-NativeModulesApple
2614+
- React-RCTFabric
2615+
- React-renderercss
2616+
- React-rendererdebug
2617+
- React-utils
2618+
- ReactCodegen
2619+
- ReactCommon/turbomodule/bridging
2620+
- ReactCommon/turbomodule/core
2621+
- SocketRocket
2622+
- Yoga
2623+
- RNScreens (4.19.0):
2624+
- boost
2625+
- DoubleConversion
2626+
- fast_float
2627+
- fmt
2628+
- glog
2629+
- hermes-engine
2630+
- RCT-Folly
2631+
- RCT-Folly/Fabric
2632+
- RCTRequired
2633+
- RCTTypeSafety
2634+
- React-Core
2635+
- React-debug
2636+
- React-Fabric
2637+
- React-featureflags
2638+
- React-graphics
2639+
- React-ImageManager
2640+
- React-jsi
2641+
- React-NativeModulesApple
2642+
- React-RCTFabric
2643+
- React-RCTImage
2644+
- React-renderercss
2645+
- React-rendererdebug
2646+
- React-utils
2647+
- ReactCodegen
2648+
- ReactCommon/turbomodule/bridging
2649+
- ReactCommon/turbomodule/core
2650+
- RNScreens/common (= 4.19.0)
2651+
- SocketRocket
2652+
- Yoga
2653+
- RNScreens/common (4.19.0):
2654+
- boost
2655+
- DoubleConversion
2656+
- fast_float
2657+
- fmt
2658+
- glog
2659+
- hermes-engine
2660+
- RCT-Folly
2661+
- RCT-Folly/Fabric
2662+
- RCTRequired
2663+
- RCTTypeSafety
2664+
- React-Core
2665+
- React-debug
2666+
- React-Fabric
2667+
- React-featureflags
2668+
- React-graphics
2669+
- React-ImageManager
2670+
- React-jsi
2671+
- React-NativeModulesApple
2672+
- React-RCTFabric
2673+
- React-RCTImage
2674+
- React-renderercss
2675+
- React-rendererdebug
2676+
- React-utils
2677+
- ReactCodegen
2678+
- ReactCommon/turbomodule/bridging
2679+
- ReactCommon/turbomodule/core
2680+
- SocketRocket
2681+
- Yoga
25082682
- SocketRocket (0.7.1)
25092683
- Yoga (0.0.0)
25102684

@@ -2554,6 +2728,7 @@ DEPENDENCIES:
25542728
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
25552729
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
25562730
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
2731+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
25572732
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
25582733
- React-networking (from `../node_modules/react-native/ReactCommon/react/networking`)
25592734
- React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`)
@@ -2588,6 +2763,8 @@ DEPENDENCIES:
25882763
- ReactCodegen (from `build/generated/ios/ReactCodegen`)
25892764
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
25902765
- ReactNativeEnriched (from `../..`)
2766+
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
2767+
- RNScreens (from `../node_modules/react-native-screens`)
25912768
- SocketRocket (~> 0.7.1)
25922769
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
25932770

@@ -2685,6 +2862,8 @@ EXTERNAL SOURCES:
26852862
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
26862863
react-native-image-picker:
26872864
:path: "../node_modules/react-native-image-picker"
2865+
react-native-safe-area-context:
2866+
:path: "../node_modules/react-native-safe-area-context"
26882867
React-NativeModulesApple:
26892868
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
26902869
React-networking:
@@ -2753,6 +2932,10 @@ EXTERNAL SOURCES:
27532932
:path: "../node_modules/react-native/ReactCommon"
27542933
ReactNativeEnriched:
27552934
:path: "../.."
2935+
RNGestureHandler:
2936+
:path: "../node_modules/react-native-gesture-handler"
2937+
RNScreens:
2938+
:path: "../node_modules/react-native-screens"
27562939
Yoga:
27572940
:path: "../node_modules/react-native/ReactCommon/yoga"
27582941

@@ -2763,7 +2946,7 @@ SPEC CHECKSUMS:
27632946
FBLazyVector: a293a88992c4c33f0aee184acab0b64a08ff9458
27642947
fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd
27652948
glog: 5683914934d5b6e4240e497e0f4a3b42d1854183
2766-
hermes-engine: e17ae6b2f75a4e61b67ed99ca68c1f2ed03a0181
2949+
hermes-engine: 1077ddfe75f6debf355c08b3e22818fe01b227b3
27672950
RCT-Folly: 59ec0ac1f2f39672a0c6e6cecdd39383b764646f
27682951
RCTDeprecation: 2b70c6e3abe00396cefd8913efbf6a2db01a2b36
27692952
RCTRequired: f3540eee8094231581d40c5c6d41b0f170237a81
@@ -2801,6 +2984,7 @@ SPEC CHECKSUMS:
28012984
React-Mapbuffer: d690542fbbded9d9526a0a883c439aa82e4cede3
28022985
React-microtasksnativemodule: b908076184179c0fd0db8713b5140f6e6e0e56c7
28032986
react-native-image-picker: 43e6cd4231e670030fe09b079d696fa5a634ccfc
2987+
react-native-safe-area-context: 54d812805f3c4e08a4580ad086cbde1d8780c2e4
28042988
React-NativeModulesApple: 153a3effe2df7d35881f3f0c126c8182b8643e5a
28052989
React-networking: 236c494a8d26fc5a776b3cfec7795a3e55143c91
28062990
React-oscompat: aedc0afbded67280de6bb6bfac8cfde0389e2b33
@@ -2835,6 +3019,8 @@ SPEC CHECKSUMS:
28353019
ReactCodegen: 10a61330b137caaad6f7fbe7f5d0e7a40d621700
28363020
ReactCommon: c6cd81778336e767e27fe63c6707dd6b735fff5c
28373021
ReactNativeEnriched: fb6e018ddbaf26570055f402bbdb513f2628dd5e
3022+
RNGestureHandler: c85091a16541f644d23f43347d08b6d64b202837
3023+
RNScreens: 69f68c95d395bc4261d27c3aae7b4a458b947b7e
28383024
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
28393025
Yoga: 6ca93c8c13f56baeec55eb608577619b17a4d64e
28403026

example/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@
1010
"build:ios": "react-native build-ios --scheme EnrichedTextInputExample --mode Debug --extra-params \"-sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO\""
1111
},
1212
"dependencies": {
13+
"@react-navigation/native": "^7.1.26",
14+
"@react-navigation/native-stack": "^7.9.0",
15+
"add": "^2.0.6",
1316
"react": "19.2.0",
1417
"react-native": "0.83.0",
15-
"react-native-image-picker": "^8.2.1"
18+
"react-native-gesture-handler": "^2.29.1",
19+
"react-native-image-picker": "^8.2.1",
20+
"react-native-safe-area-context": "^5.6.2",
21+
"react-native-screens": "^4.19.0"
1622
},
1723
"devDependencies": {
1824
"@babel/core": "^7.25.2",

0 commit comments

Comments
 (0)