Skip to content

Commit a213de5

Browse files
authored
fix: declare support for 0.77 (#2340)
1 parent a2eebf1 commit a213de5

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

android/app/src/main/jni/TurboModuleManagerDelegate.h

-7
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,8 @@ namespace ReactTestApp
1414
: public facebook::jni::HybridClass<TurboModuleManagerDelegate,
1515
facebook::react::TurboModuleManagerDelegate>
1616
{
17-
// Signatures changed in 0.70 to avoid unnecessary string copies; see
18-
// https://github.com/facebook/react-native/commit/3337add547c60b84816ef5dad82f4ead2e8742ef
19-
#if __has_include(<ReactCommon/CompositeTurboModuleManagerDelegate.h>)
2017
using SharedCallInvoker = const std::shared_ptr<facebook::react::CallInvoker> &;
2118
using StringRef = const std::string &;
22-
#else
23-
using SharedCallInvoker = const std::shared_ptr<facebook::react::CallInvoker>;
24-
using StringRef = const std::string;
25-
#endif
2619

2720
public:
2821
static constexpr auto kJavaDescriptor =

android/gradle-wrapper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const INT_MAX = 2 ** 31 - 1;
3434
* @type {[number, [number, string], [number, string]][]}
3535
*/
3636
const GRADLE_VERSIONS = [
37-
[v(0, 76, 0), [v(8, 10, 2), "8.10.2"], [INT_MAX, ""]], // 0.76: [8.10.2, *)
37+
[v(0, 76, 0), [v(8, 11, 1), "8.11.1"], [INT_MAX, ""]], // 0.76: [8.11.1, *)
3838
[v(0, 75, 0), [v(8, 8, 0), "8.8"], [v(8, 9, 0), "8.8"]], // 0.75: [8.8, 8.9)
3939
[v(0, 74, 0), [v(8, 6, 0), "8.6"], [v(8, 9, 0), "8.8"]], // 0.74: [8.6, 8.9)
4040
[v(0, 73, 0), [v(8, 3, 0), "8.3"], [v(8, 9, 0), "8.8"]], // 0.73: [8.3, 8.9)

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@
9898
"uuid": "^11.0.0"
9999
},
100100
"peerDependencies": {
101-
"@callstack/react-native-visionos": "0.73 - 0.76",
101+
"@callstack/react-native-visionos": "0.73 - 0.77",
102102
"@expo/config-plugins": ">=5.0",
103103
"react": "18.1 - 19.0",
104-
"react-native": "0.70 - 0.76 || >=0.77.0-0 <0.77.0",
104+
"react-native": "0.70 - 0.77 || >=0.78.0-0 <0.78.0",
105105
"react-native-macos": "^0.0.0-0 || 0.71 - 0.76",
106106
"react-native-windows": "^0.0.0-0 || 0.70 - 0.76"
107107
},

test/android/gradle-wrapper.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ describe("configureGradleWrapper()", () => {
135135
process.argv.push("run-android");
136136

137137
const cases = [
138-
["8.9", "0.76.0", "gradle-8.10.2-bin.zip"],
138+
["8.9", "0.76.0", "gradle-8.11.1-bin.zip"],
139139
["8.9", "0.75.0", "gradle-8.8-bin.zip"],
140140
["8.7", "0.75.0", "gradle-8.8-bin.zip"],
141141
["8.9", "0.74.0", "gradle-8.8-bin.zip"],
@@ -190,7 +190,7 @@ describe("configureGradleWrapper()", () => {
190190
process.argv.push("run-android");
191191

192192
const cases = [
193-
["8.10.2", "0.76.0"],
193+
["8.11.1", "0.76.0"],
194194
["8.8", "0.75.0"],
195195
["8.8", "0.74.0"],
196196
["8.8", "0.73.0"],

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -12043,10 +12043,10 @@ __metadata:
1204312043
typescript: "npm:^5.0.0"
1204412044
uuid: "npm:^11.0.0"
1204512045
peerDependencies:
12046-
"@callstack/react-native-visionos": 0.73 - 0.76
12046+
"@callstack/react-native-visionos": 0.73 - 0.77
1204712047
"@expo/config-plugins": ">=5.0"
1204812048
react: 18.1 - 19.0
12049-
react-native: 0.70 - 0.76 || >=0.77.0-0 <0.77.0
12049+
react-native: 0.70 - 0.77 || >=0.78.0-0 <0.78.0
1205012050
react-native-macos: ^0.0.0-0 || 0.71 - 0.76
1205112051
react-native-windows: ^0.0.0-0 || 0.70 - 0.76
1205212052
peerDependenciesMeta:

0 commit comments

Comments
 (0)