forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a59ad5f
commit 32bc437
Showing
11 changed files
with
52 additions
and
115 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,52 @@ | ||
# Where is the template? | ||
The React Native Template has moved from being shipping inside the [react-native](https://www.npmjs.com/package/react-native) package to it's own package: [@react-native-community/template](https://github.com/react-native-community/template). | ||
<h1 align="center"> | ||
<a href="https://callstack.github.io/react-native-visionos-docs"> | ||
React Native visionOS | ||
</a> | ||
</h1> | ||
|
||
## Why has it moved? | ||
The [React Native Frameworks RFC0759](https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0759-react-native-frameworks.md#evolving-the-react-native-community-template--cli) provides background information. | ||
<p align="center"> | ||
<strong>Learn once, write anywhere:</strong><br> | ||
Build spatial apps with React. | ||
</p> | ||
|
||
## When was it moved? | ||
The 0.75 release. | ||
React Native visionOS allows you to write visionOS with full support for platform SDK. This is a full fork of the main repository with changes needed to support visionOS. | ||
|
||
![Screenshot](https://github.com/callstack/react-native-visionos/assets/52801365/0fcd5e5f-628c-49ef-84ab-d1d4675a011a) | ||
|
||
## 🎉 Building your first spatial React Native app | ||
Follow the [Getting Started](https://callstack.github.io/react-native-visionos-docs/category/getting-started) guide. If you wish to get started quickly, you can utilize this command: | ||
|
||
```sh | ||
npx @callstack/react-native-visionos@latest init YourApp | ||
``` | ||
|
||
|
||
## 📖 Documentation | ||
|
||
The full documentation for React Native visionOS can be found on our [website](https://callstack.github.io/react-native-visionos-docs). | ||
|
||
The source for the React Native visionOS documentation and website is hosted on a separate repo, @callstack/react-native-visionos-docs. | ||
|
||
## Contributing | ||
|
||
Prerequisites: | ||
- Download the latest Xcode (at least 15.2) | ||
- Install the latest version of CMake (at least v3.29.0) | ||
|
||
Check out `rn-tester` [README.md](./packages/rn-tester/README.md) to build React Native from the source. | ||
|
||
Remember to use `RNTester-visionOS` target | ||
|
||
If `RNTester-visionOS` scheme is not showing up, click "New Scheme", which should be pre-populated with `RNTester-visionOS`. Build the app using Xcode. | ||
|
||
## Release process | ||
|
||
We use a script called `oot-release.js` which automatically releases `visionos` packages and aligns versions of dependencies with React Native core. | ||
|
||
Usage: | ||
|
||
```sh | ||
node ./scripts/oot-release.js --new-version "<visionos-version>" --react-native-version "<react-native-version>" --one-time-password "<otp>" | ||
``` | ||
|
||
To test releases and template we use [Verdaccio](https://verdaccio.org/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,4 +171,4 @@ | |
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters