Skip to content

Releases: callstack/react-native-visionos

Release 0.74.0-rc.2

05 Apr 11:14
Compare
Choose a tag to compare
Release 0.74.0-rc.2 Pre-release
Pre-release

What's new?

  • allow to use WindowHandlingModifier outside of RCTMainWindow (#137)

Full Changelog: v0.74.0-rc.2-visionos...v0.74.0-rc.2-visionos

Release 0.73.9

05 Apr 12:04
Compare
Choose a tag to compare

What's new?

  • fix: local commands parameters: #134

Full Changelog: v0.73.8-visionos...v0.73.9-visionos

Release 0.74.0-rc.1

26 Mar 12:37
Compare
Choose a tag to compare
Release 0.74.0-rc.1 Pre-release
Pre-release

What's new?

  • fix: local commands parameters: #134

Release 0.73.8

26 Mar 11:31
Compare
Choose a tag to compare

What's new?

  • fix: local commands parameters: #134

Full Changelog: v0.73.7-visionos...v0.73.8-visionos

Release 0.74.0-rc.0

20 Mar 14:00
Compare
Choose a tag to compare
Release 0.74.0-rc.0 Pre-release
Pre-release

Hey!

This is a pre-release of React Native visionOS based on React Native 0.74.0-rc.4 🎉

No further changes on React Native visionOS side.

Try it out by running:

npx @callstack/react-native-visionos@next init TestAppRC0

Note: If you are using Hermes, this release requires CMake built from source. You can install it by running brew install cmake --HEAD

Release 0.73.7

06 Mar 09:20
9e235fd
Compare
Choose a tag to compare

What's Changed

  • fix: use clearColor instead of systemBackgroundColor for visionOS by @okwasniewski in #125

Full Changelog: v0.73.6-visionos...v0.73.7-visionos

Release 0.73.6

26 Feb 16:05
Compare
Choose a tag to compare

What's Changed

Highlights

Multi window support

You can now use WindowManager API to create multiple windows.

multi-window

Example:

const secondWindow = WindowManager.getWindow('SecondWindow');

const Example = () => {
  return (
    <View style={styles.container}>
      <Button
        title="Open Second Window"
        onPress={() => {
            secondWindow.open({title: 'React Native Window'});
        }}
      />
      <Button
        title="Update Second Window"
        onPress={() => {
          secondWindow.update({title: 'Updated Window'});
        }}
      />
      <Button
        title="Close Second Window"
        onPress={() => {
          secondWindow.close();
        }}
      />
    </View>
  );
};

Note: This API was established with NativeScript Team. Shoutout to: Nathan Walker and Jamie Birch.

XR

You can now pass additional props to ImmersiveSpaces:

XR.requestSession(id, {data}

cursor: pointer

visionos_hoverEffect get's replaced by cursor: pointer for hover effects

New Contributors

Full Changelog: v0.73.5-visionos...v0.73.6-visionos

Release 0.73.5

16 Feb 11:46
Compare
Choose a tag to compare

Release 0.73.4-1

12 Feb 14:04
Compare
Choose a tag to compare

What's new?

Release 0.73.4

07 Feb 13:42
1055b58
Compare
Choose a tag to compare

Release 0.73.4

Hey! This release follows the React Native upstream bump (0.73.4). Additionally, we are releasing XR API and many bug fixes.

Thanks to everyone trying out the releases and contributing! 🙏

Happy Hacking!

XR API

API to allows you to manage immersive experiences.

Methods

requestSession

requestSession: (sessionId?: string) => Promise<void>

Opens a new ImmersiveSpace given it's unique Id.

endSession

endSession: () => Promise<void>

Closes currently open ImmersiveSpace.

For a full guide, checkout project README.

Bug fixes

  • fix: DevMenu Configure Bundler, Show Perf monitor not working
  • fix: hoverStyle crashes the app
  • fix: properly pass custom resolver options
  • fix: set correct react-native path for template when bundling for release

Full Changelog: v0.73.3-visionos...v0.73.4-visionos