Repository navigation
Restore the visionOS scheme, Flow exports and fork docs on 0.88 - #18
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the gaps left in the 0.88 port so
0.88-stablecan be published as@reactvision/react-native-visionos@0.88.1: the shared visionOS scheme, theXRandWindowManagerFlow exports, and the fork's own README and CHANGELOG, which the upstream merge had replaced with React Native's.What changed
RNTester-visionOS scheme
packages/rn-tester/RNTesterPods.xcodeproj/xcshareddata/xcschemes/RNTester-visionOS.xcschemeis back, as on0.86-stable(same BlueprintIdentifier). Without itxcodebuild -scheme RNTester-visionOShas nothing to build and CI's visionOS job fails before compiling. It is force-added because.gitignoreignores/packages/rn-tester/**/*.xcodeproj.Flow exports
packages/react-native/index.js.flowexportsXRandWindowManageragain, next toindex.js, which already did. Flow consumers saw neither module on 0.88.Docs
README.mdis the fork's README again, with 0.88.x as the current line (Expo SDK 58) and 0.86.x as the previous one (Expo SDK 57). It now says React Native builds from source for visionOS by default, because no prebuilt artifact ships an xros slice, and how to opt into prebuilts for an iOS-only build (RCT_USE_RN_DEP=1,RCT_USE_PREBUILT_RNCORE=1).CHANGELOG.mdis the fork's changelog again, with a v0.88.1 entry.Notes
types/index.d.tsno longer exist upstream in 0.88, so the visionOS guards that lived there are not carried over. Their 0.88 equivalents are the Fabric component views (RCTParagraphComponentView, RCTTextInputComponentView, RCTInputAccessoryComponentView, RCTScrollViewComponentView), which the port already guards. The Fabric modal compiles for visionOS without one.Pod::Config.instance.installation_root, so avisionos/install does not hit duplicate codegen modules) is already on0.88-stable.Testing
pod installinpackages/rn-testerwithRCT_BUILD_HERMES_FROM_SOURCE=true, thenxcodebuild -workspace RNTesterPods.xcworkspace -scheme RNTester-visionOS -configuration Debug -destination 'generic/platform=visionOS Simulator': BUILD SUCCEEDED (React Native and Hermes from source, as the CI job does).npm packofpackages/react-nativeproducesreactvision-react-native-visionos-0.88.1.tgz, used to checkpod installin an Expo SDK 58 app'svisionos/folder generated from@reactvision/visionos-template0.88.1.