Skip to content
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

feat: add visionOS support #714

Merged

Conversation

thiagobrez
Copy link
Contributor

Overview

This PR adds support for React Native visionOS, the new out-of-tree platform.

VisionOS also does not support the CoreTelephony API, so it's just a matter of adding extra checks for TARGET_OS_VISION where we already have checking for other platforms such as TARGET_OS_TV, TARGET_OS_OSX and TARGET_OS_MACCATALYST.

simulator_screenshot_755C607B-9600-445C-8821-74A06E0A0BE0

Test Plan

  • yarn test: all tests still pass
  • yarn start:ios and yarn start:macos: all platforms still build with no issues.
iOS

simulator_screenshot_1B74206F-5A3D-439B-931A-BCF348A509A4

macOS

CleanShot 2024-02-14 at 17 03 42

Copy link
Contributor

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mikehardy mikehardy merged commit 65ffc48 into react-native-netinfo:master Feb 14, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 14, 2024
# [11.3.0](v11.2.1...v11.3.0) (2024-02-14)

### Features

* add visionOS support ([#714](#714)) ([65ffc48](65ffc48))
@matt-oakes
Copy link
Collaborator

🎉 This PR is included in version 11.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants