Skip to content

Releases: callstack/react-native-visionos

Release 0.79.6

03 Sep 14:50
Compare
Choose a tag to compare

Hey!

Today, we are releasing React Native visionOS 0.79! πŸŽ‰

This release contains all the changes from React Native 0.79.

Release 0.78.0

03 Mar 09:50
Compare
Choose a tag to compare

Hey!

Today, we are releasing React Native visionOS 0.78! πŸŽ‰

This release contains all the changes from React Native 0.78.

CleanShot 2025-03-03 at 10 33 34@2x

You can create a new application using the command below:

npx @react-native-community/cli@latest init NewVisionApp --template @callstack/visionos-template@latest

Release 0.77.0

24 Jan 08:27
Compare
Choose a tag to compare

Hey!

Today we are releasing React Native visionOS 0.77! πŸŽ‰

This release contains all the changes from React Native 0.77.

visionos-77

You can create a new application using the command below:

npx @react-native-community/cli@latest init NewVisionApp --template @callstack/visionos-template@0.77.0

Important for upgrading

While upgrading to this version make sure to add RCTAppDependencyProvider in your AppDelegate.swift:

class AppDelegate: RCTAppDelegate {
+  override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
+    self.dependencyProvider = RCTAppDependencyProvider()
+    
+    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+  }

  override func sourceURL(for bridge: RCTBridge) -> URL? {
    self.bundleURL()
  }
  
  override func bundleURL() -> URL? {
#if DEBUG
    RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
#else
    Bundle.main.url(forResource: "main", withExtension: "jsbundle")
#endif
  }
}

Release 0.77.0-rc.1

07 Jan 15:06
Compare
Choose a tag to compare
Release 0.77.0-rc.1 Pre-release
Pre-release

For all the updates that went into this release please check out React Native Release.

Try it out:

npx @react-native-community/cli@latest init NewVisionApp --template @callstack/visionos-template@0.77.0-rc.1

Release 0.77.0-rc.0

27 Nov 15:17
Compare
Choose a tag to compare
Release 0.77.0-rc.0 Pre-release
Pre-release

Hey!

This is the first release of React Native visionOS 0.77 πŸŽ‰

For all the updates that went into this release please check out React Native Release.

Try it out:

npx @react-native-community/cli@latest init NewVisionApp --template @callstack/visionos-template@0.77.0-rc.0

Release 0.76.2

18 Nov 12:22
fb574c8
Compare
Choose a tag to compare

This release doesn't contain any visionOS specific fixes.

For release notes checkout React Native's Release notes: https://github.com/facebook/react-native/releases/tag/v0.76.2

Release 0.76.0

25 Oct 15:03
fb574c8
Compare
Choose a tag to compare

Hey, this is a new version of React Native visionOS 0.76.

New features

  • All improvements from React Native 0.76
  • React Native debugger is now supported!
  • New Architecture by default πŸŽ‰

CleanShot 2024-10-25 at 15 58 19 2@2x

Deprecations

Caution

This release deprecates the automatic cursor: pointer style on Touchable components. You should now use cursor: pointer in your stylesheets to enable the pointer cursor. This will be removed in the next major release.

Release 0.76.0-rc.0

17 Sep 09:55
Compare
Choose a tag to compare
Release 0.76.0-rc.0 Pre-release
Pre-release

Hey, this is a new version of React Native visionOS 0.76.

New features

  • All improvements from React Native 0.76
  • React Native debugger is now supported!
CleanShot.2024-09-17.at.11.51.20.mp4

Note

Please upgrade your Cocoapods version to at least 1.15, without it you may face issues with Heremes linking.

Deprecations

Caution

This release deprecates the automatic cursor: pointer style on Touchable components. You should now use cursor: pointer in your stylesheets to enable the pointer cursor. This will be removed in the next major release.

Release 0.75.0

23 Aug 11:59
Compare
Choose a tag to compare

Hey πŸ‘‹

This is the first React Native visionOS 0.75 release!

There are a few changes:

  • Template is now living outside of @callstack/react-native-visionos, now it's here.
  • Init command is now different. This change is reflected in the docs.
  • We now use a prebuilt version of Hermes πŸŽ‰

Get started

To start building with React Native visionOS use this command:

npx @react-native-community/cli@latest init <YourAppName> --template @callstack/visionos-template@latest

Simulator Screenshot - Apple Vision Pro - 2024-08-23 at 13 38 44

Known Issues

Prebuilt Hermes is missing x86 slice which prevents uploading the app to the AppStore using prebuilt Hermes. Fix should come with upcoming releases.

Workaround:

Reinstall pods with RCT_BUILD_HERMES_FROM_SOURCE flag.

RCT_BUILD_HERMES_FROM_SOURCE=true bundle exec pod install

Happy hacking!

Release 0.75.0-rc.2

31 Jul 14:22
Compare
Choose a tag to compare
Release 0.75.0-rc.2 Pre-release
Pre-release

To initialize the project use this command:

npx react-native@latest init VisionApp --template @callstack/visionos-template@0.75.0-rc.2

Known issues

Custom metro resolver @callstack/out-of-tree-platforms is breaking the bundling process (temporarily removed from the metro.config.js)