Skip to content

Commit 499913d

Browse files
committed
chore: upgrade RN to 0.84.1
1 parent 9a6ad22 commit 499913d

7 files changed

Lines changed: 267 additions & 269 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.19.4
1+
v22.14.0

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ react {
1919

2020
/* Variants */
2121
// The list of variants to that are debuggable. For those we're going to
22-
// skip the bundling of the JS bundle and the assets. By default is just 'debug'.
22+
// skip the bundling of the JS bundle and the assets. Default is "debug", "debugOptimized".
2323
// If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
24-
// debuggableVariants = ["liteDebug", "prodDebug"]
24+
// debuggableVariants = ["liteDebug", "liteDebugOptimized", "prodDebug", "prodDebugOptimized"]
2525

2626
/* Bundling */
2727
// A list containing the node command and its flags. Default is just 'node'.

example/ios/ReactNativeSdkExample.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,11 @@
442442
);
443443
PRODUCT_BUNDLE_IDENTIFIER = iterable.reactnativesdk.example;
444444
PRODUCT_NAME = ReactNativeSdkExample;
445+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
445446
SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeSdkExample-Bridging-Header.h";
446447
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
447448
SWIFT_VERSION = 5.0;
449+
TARGETED_DEVICE_FAMILY = "1,2";
448450
VERSIONING_SYSTEM = "apple-generic";
449451
};
450452
name = Debug;
@@ -472,8 +474,10 @@
472474
);
473475
PRODUCT_BUNDLE_IDENTIFIER = iterable.reactnativesdk.example;
474476
PRODUCT_NAME = ReactNativeSdkExample;
477+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
475478
SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeSdkExample-Bridging-Header.h";
476479
SWIFT_VERSION = 5.0;
480+
TARGETED_DEVICE_FAMILY = "1,2";
477481
VERSIONING_SYSTEM = "apple-generic";
478482
};
479483
name = Release;

example/ios/ReactNativeSdkExample/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,13 @@
4848
<key>UISupportedInterfaceOrientations</key>
4949
<array>
5050
<string>UIInterfaceOrientationPortrait</string>
51+
</array>
52+
<key>UISupportedInterfaceOrientations~ipad</key>
53+
<array>
5154
<string>UIInterfaceOrientationLandscapeLeft</string>
5255
<string>UIInterfaceOrientationLandscapeRight</string>
56+
<string>UIInterfaceOrientationPortrait</string>
57+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
5358
</array>
5459
<key>UIViewControllerBasedStatusBarAppearance</key>
5560
<false/>

example/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@react-navigation/native": "^7.1.14",
1515
"@react-navigation/native-stack": "^7.0.0",
1616
"@react-navigation/stack": "^7.4.2",
17-
"react": "19.2.0",
18-
"react-native": "0.83.9",
17+
"react": "19.2.3",
18+
"react-native": "0.84.1",
1919
"react-native-gesture-handler": "^2.30.0",
2020
"react-native-safe-area-context": "^5.6.0",
2121
"react-native-screens": ">=4.19.0 <4.25.0",
@@ -25,21 +25,21 @@
2525
"@babel/core": "^7.25.2",
2626
"@babel/preset-env": "^7.25.3",
2727
"@babel/runtime": "^7.25.0",
28-
"@react-native-community/cli": "20.0.0",
29-
"@react-native-community/cli-platform-android": "20.0.0",
30-
"@react-native-community/cli-platform-ios": "20.0.0",
31-
"@react-native/babel-preset": "0.83.9",
32-
"@react-native/eslint-config": "0.83.9",
33-
"@react-native/metro-config": "0.83.9",
34-
"@react-native/typescript-config": "0.83.9",
28+
"@react-native-community/cli": "20.1.0",
29+
"@react-native-community/cli-platform-android": "20.1.0",
30+
"@react-native-community/cli-platform-ios": "20.1.0",
31+
"@react-native/babel-preset": "0.84.1",
32+
"@react-native/eslint-config": "0.84.1",
33+
"@react-native/metro-config": "0.84.1",
34+
"@react-native/typescript-config": "0.84.1",
3535
"@types/jest": "^29.5.13",
3636
"@types/react": "^19.2.0",
3737
"@types/react-test-renderer": "^19.1.0",
3838
"react-native-builder-bob": "^0.30.2",
3939
"react-native-dotenv": "^3.4.11",
40-
"react-test-renderer": "19.2.0"
40+
"react-test-renderer": "19.2.3"
4141
},
4242
"engines": {
43-
"node": ">=20"
43+
"node": ">= 22.11.0"
4444
}
4545
}

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
"devDependencies": {
7171
"@commitlint/config-conventional": "^19.6.0",
7272
"@evilmartians/lefthook": "^1.5.0",
73-
"@react-native-community/cli": "20.0.0",
74-
"@react-native/babel-preset": "0.83.9",
75-
"@react-native/eslint-config": "0.83.9",
76-
"@react-native/metro-config": "0.83.9",
77-
"@react-native/typescript-config": "0.83.9",
73+
"@react-native-community/cli": "20.1.0",
74+
"@react-native/babel-preset": "0.84.1",
75+
"@react-native/eslint-config": "0.84.1",
76+
"@react-native/metro-config": "0.84.1",
77+
"@react-native/typescript-config": "0.84.1",
7878
"@react-navigation/native": "^7.1.14",
7979
"@release-it/conventional-changelog": "^9.0.4",
8080
"@testing-library/jest-native": "^5.4.3",
@@ -94,14 +94,14 @@
9494
"jest": "^29.7.0",
9595
"prettier": "^3.0.3",
9696
"prettier-eslint": "^16.4.2",
97-
"react": "19.2.0",
98-
"react-native": "0.83.9",
97+
"react": "19.2.3",
98+
"react-native": "0.84.1",
9999
"react-native-builder-bob": "^0.40.4",
100100
"react-native-gesture-handler": "^2.30.0",
101101
"react-native-safe-area-context": "^5.6.0",
102102
"react-native-screens": ">=4.19.0 <4.25.0",
103103
"react-native-webview": "^13.14.1",
104-
"react-test-renderer": "19.2.0",
104+
"react-test-renderer": "19.2.3",
105105
"release-it": "^17.10.0",
106106
"turbo": "^1.10.7",
107107
"typedoc": "^0.28.13",

0 commit comments

Comments
 (0)