Skip to content

Release 0.73.6

Compare
Choose a tag to compare
@okwasniewski okwasniewski released this 26 Feb 16:05
· 2636 commits to main since this release

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