Skip to content
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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## v0.88.3 — 15 November 2026

### Fixed

- **iOS builds with `use_frameworks!` compile.** An app that installs this package *as* `react-native` and
builds React Native from source with frameworks (dynamic, as ARCore's pods require) failed in three
places, all in the visionOS additions, because a framework exposes its headers only under its own module
name:
- `React-RCTXR` and `React-RCTWindowManager` declared `React-RCTFBReactNativeSpecVisionOS` with
`s.dependency`, which adds no framework header path, so `FBReactNativeSpec_visionOS.h` was not
found. They use `add_dependency`, as React Native's own pods do for `React-RCTFBReactNativeSpec`.
- `RCTXRModule.mm` imports its Swift header as `<RCTXR/RCTXR-Swift.h>` when the pod is a framework,
and as `"RCTXR-Swift.h"` otherwise.
- `RCTReactViewController.m` (`React-RCTSwiftExtensions`) imports `<React_RCTAppDelegate/RCTAppDelegate.h>`
when that module exists, and its podspec now depends on `React-RCTAppDelegate`; it had reached the
header only through the shared header directory, which frameworks do not have.

## v0.88.2 — 15 November 2026

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
export default class ReactNativeVersion {
static major: number = 0;
static minor: number = 88;
static patch: number = 2;
static patch: number = 3;
static prerelease: string | null = null;

static getVersionString(): string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
#import <React/RCTConstants.h>
#import <React/RCTUtils.h>
#import <React/RCTRootView.h>
// The pod's module is React_RCTAppDelegate when it is built as a framework.
#if __has_include(<React_RCTAppDelegate/RCTAppDelegate.h>)
#import <React_RCTAppDelegate/RCTAppDelegate.h>
#else
#import <React-RCTAppDelegate/RCTAppDelegate.h>
#endif

@protocol RCTRootViewFactoryProtocol <NSObject>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ Pod::Spec.new do |s|
s.dependency "React-Core"
s.dependency "React-RCTXR"
s.dependency "React-RCTWindowManager"
# RCTReactViewController.m imports RCTAppDelegate.h; it reached it only through the shared
# header directory, which use_frameworks does not have.
add_dependency(s, "React-RCTAppDelegate")
end
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ Pod::Spec.new do |s|

s.dependency "RCTTypeSafety"
s.dependency "React-jsi"
s.dependency "React-RCTFBReactNativeSpecVisionOS"
s.dependency "React-Core/RCTWindowManagerHeaders"

add_dependency(s, "ReactCodegen", :additional_framework_paths => ["build/generated/ios"])
# add_dependency, not s.dependency: with use_frameworks it also adds the spec's framework
# header path, without which FBReactNativeSpec_visionOS.h is not found.
add_dependency(s, "React-RCTFBReactNativeSpecVisionOS")
add_dependency(s, "ReactCommon", :subspec => "turbomodule/core", :additional_framework_paths => ["react/nativemodule/core"])
add_dependency(s, "React-NativeModulesApple", :additional_framework_paths => ["build/generated/ios"])

Expand Down
5 changes: 5 additions & 0 deletions packages/react-native/Libraries/XR/RCTXRModule.mm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
#import <React/RCTBridge.h>
#import <React/RCTConvert.h>
#import <React/RCTUtils.h>
// The Swift header lives in the module's framework when the pod is built as one.
#if __has_include(<RCTXR/RCTXR-Swift.h>)
#import <RCTXR/RCTXR-Swift.h>
#else
#import "RCTXR-Swift.h"
#endif

// Events
static NSString *const RCTOpenImmersiveSpace = @"RCTOpenImmersiveSpace";
Expand Down
4 changes: 3 additions & 1 deletion packages/react-native/Libraries/XR/React-RCTXR.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ Pod::Spec.new do |s|

s.dependency "RCTTypeSafety"
s.dependency "React-jsi"
s.dependency "React-RCTFBReactNativeSpecVisionOS"
s.dependency "React-Core/RCTXRHeaders"

add_dependency(s, "ReactCodegen", :additional_framework_paths => ["build/generated/ios"])
# add_dependency, not s.dependency: with use_frameworks it also adds the spec's framework
# header path, without which FBReactNativeSpec_visionOS.h is not found.
add_dependency(s, "React-RCTFBReactNativeSpecVisionOS")
add_dependency(s, "ReactCommon", :subspec => "turbomodule/core", :additional_framework_paths => ["react/nativemodule/core"])
add_dependency(s, "React-NativeModulesApple", :additional_framework_paths => ["build/generated/ios"])

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/React/Base/RCTVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
__rnVersion = @{
RCTVersionMajor: @(0),
RCTVersionMinor: @(88),
RCTVersionPatch: @(2),
RCTVersionPatch: @(3),
RCTVersionPrerelease: [NSNull null],
};
});
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.88.2
VERSION_NAME=0.88.3
react.internal.publishingGroup=com.facebook.react
react.internal.hermesPublishingGroup=com.facebook.hermes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public object ReactNativeVersion {
public val VERSION: Map<String, Any?> = mapOf(
"major" to 0,
"minor" to 88,
"patch" to 2,
"patch" to 3,
"prerelease" to null
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

#define REACT_NATIVE_VERSION_MAJOR 0
#define REACT_NATIVE_VERSION_MINOR 88
#define REACT_NATIVE_VERSION_PATCH 2
#define REACT_NATIVE_VERSION_PATCH 3

namespace facebook::react {

struct ReactNativeVersionType {
int32_t Major = 0;
int32_t Minor = 88;
int32_t Patch = 2;
int32_t Patch = 3;
std::string_view Prerelease = "";
};

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactvision/react-native-visionos",
"version": "0.88.2",
"version": "0.88.3",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports[`execute test-app "ReactAppDependencyProvider/ReactAppDependencyProvider
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

version = \\"0.88.2\\"
version = \\"0.88.3\\"
source = { :git => 'https://github.com/facebook/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
Expand Down Expand Up @@ -399,7 +399,7 @@ exports[`execute test-app "ReactCodegen/ReactCodegen.podspec" should match snaps
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

version = \\"0.88.2\\"
version = \\"0.88.3\\"
source = { :git => 'https://github.com/facebook/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
Expand Down Expand Up @@ -590,7 +590,7 @@ exports[`execute test-app-legacy "ReactAppDependencyProvider/ReactAppDependencyP
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

version = \\"0.88.2\\"
version = \\"0.88.3\\"
source = { :git => 'https://github.com/facebook/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
Expand Down Expand Up @@ -882,7 +882,7 @@ exports[`execute test-app-legacy "ReactCodegen/ReactCodegen.podspec" should matc
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

version = \\"0.88.2\\"
version = \\"0.88.3\\"
source = { :git => 'https://github.com/facebook/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
Expand Down
Loading