Skip to content

fix: declare support for 0.76 #2222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npx --package react-native-test-app@latest init
In this example, we will create a project named "sample" in `sample` with apps
for all platforms:

```sh
```
✔ What is the name of your test app? … sample
? Which platforms do you need test apps for? ›
Instructions:
Expand All @@ -44,8 +44,9 @@ Instructions:
◉ Android
◉ iOS
◉ macOS
◯ visionOS (Experimental)
◉ Windows
✔ Where should we create the new project?? … sample
✔ Where should we create the new project? … sample
```

Install npm dependencies inside the new project folder:
Expand Down Expand Up @@ -100,9 +101,11 @@ in the wiki.
[react-native-datetimepicker](https://github.com/react-native-datetimepicker/datetimepicker) •
[react-native-google-signin](https://github.com/react-native-google-signin/google-signin) •
[react-native-image-editor](https://github.com/callstack/react-native-image-editor) •
[react-native-keychain](https://github.com/oblador/react-native-keychain) •
[react-native-masked-view](https://github.com/react-native-masked-view/masked-view) •
[react-native-menu](https://github.com/react-native-menu/menu) •
[react-native-netinfo](https://github.com/react-native-netinfo/react-native-netinfo) •
[react-native-pager-view](https://github.com/callstack/react-native-pager-view) •
[react-native-segmented-control](https://github.com/react-native-segmented-control/segmented-control) •
[react-native-webview](https://github.com/react-native-webview/react-native-webview) •
[realm-js](https://github.com/realm/realm-js) •
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
"uuid": "^10.0.0"
},
"peerDependencies": {
"@callstack/react-native-visionos": "0.73 - 0.75",
"@callstack/react-native-visionos": "0.73 - 0.76",
"@expo/config-plugins": ">=5.0",
"react": "17.0.1 - 19.0",
"react-native": "0.66 - 0.75 || >=0.76.0-0 <0.76.0",
"react-native": "0.66 - 0.76 || >=0.77.0-0 <0.77.0",
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75",
"react-native-windows": "^0.0.0-0 || 0.66 - 0.75"
"react-native-windows": "^0.0.0-0 || 0.66 - 0.76"
},
"peerDependenciesMeta": {
"@callstack/react-native-visionos": {
Expand Down
13 changes: 8 additions & 5 deletions scripts/testing/test-matrix.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reminder that this script is meant to be runnable without installing
* dependencies. It can therefore not rely on any external libraries.
*/
import { spawn } from "node:child_process";
import { spawn, spawnSync } from "node:child_process";
import * as fs from "node:fs";
import { URL, fileURLToPath } from "node:url";
import * as util from "node:util";
Expand Down Expand Up @@ -327,8 +327,7 @@ if (platforms.length === 0) {
})
.then(() => {
showBanner(`Reconfigure existing app`);
$(
PACKAGE_MANAGER,
const args = [
"configure-test-app",
"-p",
"android",
Expand All @@ -339,8 +338,12 @@ if (platforms.length === 0) {
"-p",
"visionos",
"-p",
"windows"
);
"windows",
];
const { status } = spawnSync(PACKAGE_MANAGER, args, { stdio: "inherit" });
if (status !== 1) {
throw new Error("Expected an error");
}
})
.then(() => {
showBanner(green("✔ Pass"));
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12446,12 +12446,12 @@ __metadata:
typescript: "npm:^5.0.0"
uuid: "npm:^10.0.0"
peerDependencies:
"@callstack/react-native-visionos": 0.73 - 0.75
"@callstack/react-native-visionos": 0.73 - 0.76
"@expo/config-plugins": ">=5.0"
react: 17.0.1 - 19.0
react-native: 0.66 - 0.75 || >=0.76.0-0 <0.76.0
react-native: 0.66 - 0.76 || >=0.77.0-0 <0.77.0
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75
react-native-windows: ^0.0.0-0 || 0.66 - 0.75
react-native-windows: ^0.0.0-0 || 0.66 - 0.76
peerDependenciesMeta:
"@callstack/react-native-visionos":
optional: true
Expand Down
Loading