Skip to content

Commit afdbe8c

Browse files
committed
feat: upgrade react-native-safe-area-context to v5
1 parent 292481c commit afdbe8c

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed

example/ios/OrientationDirectorExample.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,10 @@
388388
"-DFOLLY_CFG_NO_COROUTINES=1",
389389
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
390390
);
391-
OTHER_LDFLAGS = "$(inherited) ";
391+
OTHER_LDFLAGS = (
392+
"$(inherited)",
393+
" ",
394+
);
392395
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
393396
SDKROOT = iphoneos;
394397
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -461,7 +464,10 @@
461464
"-DFOLLY_CFG_NO_COROUTINES=1",
462465
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
463466
);
464-
OTHER_LDFLAGS = "$(inherited) ";
467+
OTHER_LDFLAGS = (
468+
"$(inherited)",
469+
" ",
470+
);
465471
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
466472
SDKROOT = iphoneos;
467473
USE_HERMES = true;

example/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ PODS:
12311231
- ReactCommon/turbomodule/bridging
12321232
- ReactCommon/turbomodule/core
12331233
- Yoga
1234-
- react-native-safe-area-context (4.14.1):
1234+
- react-native-safe-area-context (5.1.0):
12351235
- DoubleConversion
12361236
- glog
12371237
- hermes-engine
@@ -1244,8 +1244,8 @@ PODS:
12441244
- React-featureflags
12451245
- React-graphics
12461246
- React-ImageManager
1247-
- react-native-safe-area-context/common (= 4.14.1)
1248-
- react-native-safe-area-context/fabric (= 4.14.1)
1247+
- react-native-safe-area-context/common (= 5.1.0)
1248+
- react-native-safe-area-context/fabric (= 5.1.0)
12491249
- React-NativeModulesApple
12501250
- React-RCTFabric
12511251
- React-rendererdebug
@@ -1254,7 +1254,7 @@ PODS:
12541254
- ReactCommon/turbomodule/bridging
12551255
- ReactCommon/turbomodule/core
12561256
- Yoga
1257-
- react-native-safe-area-context/common (4.14.1):
1257+
- react-native-safe-area-context/common (5.1.0):
12581258
- DoubleConversion
12591259
- glog
12601260
- hermes-engine
@@ -1275,7 +1275,7 @@ PODS:
12751275
- ReactCommon/turbomodule/bridging
12761276
- ReactCommon/turbomodule/core
12771277
- Yoga
1278-
- react-native-safe-area-context/fabric (4.14.1):
1278+
- react-native-safe-area-context/fabric (5.1.0):
12791279
- DoubleConversion
12801280
- glog
12811281
- hermes-engine
@@ -1890,7 +1890,7 @@ SPEC CHECKSUMS:
18901890
React-Mapbuffer: 6993c785c22a170c02489bc78ed207814cbd700f
18911891
React-microtasksnativemodule: 19230cd0933df6f6dc1336c9a9edc382d62638ae
18921892
react-native-orientation-director: c0dab0122a86a4b9fb062cd71b6d1c1fc10a42ae
1893-
react-native-safe-area-context: 38329d95018b31d0f2461d30282ad385ebc957ae
1893+
react-native-safe-area-context: 6b85173d2cee963d5232ac2fd260e8ebd63273dc
18941894
React-nativeconfig: cd0fbb40987a9658c24dab5812c14e5522a64929
18951895
React-NativeModulesApple: 45187d13c68d47250a7416b18ff082c7cc07bff7
18961896
React-perflogger: 15a7bcb6c46eae8a981f7add8c9f4172e2372324

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@react-navigation/native-stack": "7.2.0",
1515
"react": "18.3.1",
1616
"react-native": "0.77.0",
17-
"react-native-safe-area-context": "4.14.1",
17+
"react-native-safe-area-context": "5.1.0",
1818
"react-native-screens": "4.6.0"
1919
},
2020
"devDependencies": {

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11161,7 +11161,7 @@ __metadata:
1116111161
babel-plugin-module-resolver: ^5.0.0
1116211162
react: 18.3.1
1116311163
react-native: 0.77.0
11164-
react-native-safe-area-context: 4.14.1
11164+
react-native-safe-area-context: 5.1.0
1116511165
react-native-screens: 4.6.0
1116611166
languageName: unknown
1116711167
linkType: soft
@@ -11195,13 +11195,13 @@ __metadata:
1119511195
languageName: unknown
1119611196
linkType: soft
1119711197

11198-
"react-native-safe-area-context@npm:4.14.1":
11199-
version: 4.14.1
11200-
resolution: "react-native-safe-area-context@npm:4.14.1"
11198+
"react-native-safe-area-context@npm:5.1.0":
11199+
version: 5.1.0
11200+
resolution: "react-native-safe-area-context@npm:5.1.0"
1120111201
peerDependencies:
1120211202
react: "*"
1120311203
react-native: "*"
11204-
checksum: acf94ea2a30a3ec5594b467f8e0942ac48c10cbb5d34d16beba33cc0052f7c82dfd6ace754fa55f41d55143f134d3d3fa908eaf4cc9dec5743d6c4483b23520a
11204+
checksum: b03663c8567f24ff9e0fd96f0b06b8b4e3aebb77dd93995cc661996aa6e70f8e96588e78006696277b7c213b65ac9515604d57bd0321b96e42b0a055b3b49f7e
1120511205
languageName: node
1120611206
linkType: hard
1120711207

0 commit comments

Comments
 (0)