Skip to content

Commit 08b916b

Browse files
committed
fix: declare support for 0.76
1 parent 52d14ec commit 08b916b

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ npx --package react-native-test-app@latest init
3333
In this example, we will create a project named "sample" in `sample` with apps
3434
for all platforms:
3535

36-
```sh
36+
```
3737
✔ What is the name of your test app? … sample
3838
? Which platforms do you need test apps for? ›
3939
Instructions:
@@ -44,6 +44,7 @@ Instructions:
4444
◉ Android
4545
◉ iOS
4646
◉ macOS
47+
◯ visionOS (Experimental)
4748
◉ Windows
4849
✔ Where should we create the new project?? … sample
4950
```
@@ -100,9 +101,11 @@ in the wiki.
100101
[react-native-datetimepicker](https://github.com/react-native-datetimepicker/datetimepicker) •
101102
[react-native-google-signin](https://github.com/react-native-google-signin/google-signin) •
102103
[react-native-image-editor](https://github.com/callstack/react-native-image-editor) •
104+
[react-native-keychain](https://github.com/oblador/react-native-keychain) •
103105
[react-native-masked-view](https://github.com/react-native-masked-view/masked-view) •
104106
[react-native-menu](https://github.com/react-native-menu/menu) •
105107
[react-native-netinfo](https://github.com/react-native-netinfo/react-native-netinfo) •
108+
[react-native-pager-view](https://github.com/callstack/react-native-pager-view) •
106109
[react-native-segmented-control](https://github.com/react-native-segmented-control/segmented-control) •
107110
[react-native-webview](https://github.com/react-native-webview/react-native-webview) •
108111
[realm-js](https://github.com/realm/realm-js) •

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@
9797
"uuid": "^10.0.0"
9898
},
9999
"peerDependencies": {
100-
"@callstack/react-native-visionos": "0.73 - 0.75",
100+
"@callstack/react-native-visionos": "0.73 - 0.76",
101101
"@expo/config-plugins": ">=5.0",
102102
"react": "17.0.1 - 19.0",
103-
"react-native": "0.66 - 0.75 || >=0.76.0-0 <0.76.0",
103+
"react-native": "0.66 - 0.76 || >=0.77.0-0 <0.77.0",
104104
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75",
105105
"react-native-windows": "^0.0.0-0 || 0.66 - 0.75"
106106
},

scripts/testing/test-matrix.mjs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Reminder that this script is meant to be runnable without installing
55
* dependencies. It can therefore not rely on any external libraries.
66
*/
7-
import { spawn } from "node:child_process";
7+
import { spawn, spawnSync } from "node:child_process";
88
import * as fs from "node:fs";
99
import { URL, fileURLToPath } from "node:url";
1010
import * as util from "node:util";
@@ -327,8 +327,7 @@ if (platforms.length === 0) {
327327
})
328328
.then(() => {
329329
showBanner(`Reconfigure existing app`);
330-
$(
331-
PACKAGE_MANAGER,
330+
const args = [
332331
"configure-test-app",
333332
"-p",
334333
"android",
@@ -339,8 +338,12 @@ if (platforms.length === 0) {
339338
"-p",
340339
"visionos",
341340
"-p",
342-
"windows"
343-
);
341+
"windows",
342+
];
343+
const { status } = spawnSync(PACKAGE_MANAGER, args, { stdio: "inherit" });
344+
if (status !== 1) {
345+
throw new Error("Expected an error");
346+
}
344347
})
345348
.then(() => {
346349
showBanner(green("✔ Pass"));

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12370,10 +12370,10 @@ __metadata:
1237012370
typescript: "npm:^5.0.0"
1237112371
uuid: "npm:^10.0.0"
1237212372
peerDependencies:
12373-
"@callstack/react-native-visionos": 0.73 - 0.75
12373+
"@callstack/react-native-visionos": 0.73 - 0.76
1237412374
"@expo/config-plugins": ">=5.0"
1237512375
react: 17.0.1 - 19.0
12376-
react-native: 0.66 - 0.75 || >=0.76.0-0 <0.76.0
12376+
react-native: 0.66 - 0.76 || >=0.77.0-0 <0.77.0
1237712377
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75
1237812378
react-native-windows: ^0.0.0-0 || 0.66 - 0.75
1237912379
peerDependenciesMeta:

0 commit comments

Comments
 (0)