Skip to content

Releases: callstack/react-native-visionos

Release 0.74.4

24 Jun 12:39
Compare
Choose a tag to compare

What's Changed

This is a small release including a minor bug fix for ornaments integration.

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.4-visionos

Release 0.73.12

24 Jun 14:19
94719da
Compare
Choose a tag to compare

What's Changed

Hey, This release is a backport of changes that landed in 0.74.x.

  • feat: add support for ornaments & dev menu trigger by @okwasniewski in #149
  • fix: [Hermes] Can't build a new project for dev #128
  • fix: Asset validation failed - A key for 'MinimumOSVersion' is required #101

Ornaments support

It's now possible to define ornaments on windows by passing closure as the last parameter:

    RCTWindow(id: "SecondWindow", sceneData: reactContext.getSceneData(id: "SecondWindow")) { rootView in
      rootView.ornament(attachmentAnchor: .scene(.bottom)) {
        VStack {
          Button("Hey!") {}
        }
        .glassBackgroundEffect()
      }
    }

simulator_screenshot_1954653E-606E-42F9-8372-A7DB85F3C88A

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.3-visionos

Release 0.74.3

10 Jun 12:26
6901261
Compare
Choose a tag to compare

What's Changed

  • feat: add support for ornaments & dev menu trigger by @okwasniewski in #149
  • fix: [Hermes] Can't build a new project for dev #128
  • fix: Asset validation failed - A key for 'MinimumOSVersion' is required #101

Ornaments support

It's now possible to define ornaments on windows by passing closure as the last parameter:

    RCTWindow(id: "SecondWindow", sceneData: reactContext.getSceneData(id: "SecondWindow")) { rootView in
      rootView.ornament(attachmentAnchor: .scene(.bottom)) {
        VStack {
          Button("Hey!") {}
        }
        .glassBackgroundEffect()
      }
    }

simulator_screenshot_1954653E-606E-42F9-8372-A7DB85F3C88A

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.3-visionos

Release 0.74.1

30 Apr 13:25
Compare
Choose a tag to compare

What's Changed

  • feat: include privacy info manifest #144

Full Changelog: v0.74.0-visionos...v0.74.1-visionos

Release 0.73.11

30 Apr 13:44
41cf9dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.74.1-visionos...v0.73.11-visionos

Release 0.74.0

24 Apr 13:31
Compare
Choose a tag to compare

Hey!

This is the first 0.74 stable release! It contains all of the changes from upstream React Native so for full changelog checkout the blog post: https://reactnative.dev/blog/2024/04/22/release-0.74

Try it out by running:

npx @callstack/react-native-visionos@latest init TestApp

Note: Hermes is temporarily disabled in the Podfile (for new projects) official visionOS support in Hermes will be available soon. If you want to run Hermes anyway, check out this issue: #128

Release 0.74.0-rc.4

12 Apr 07:21
9a00554
Compare
Choose a tag to compare
Release 0.74.0-rc.4 Pre-release
Pre-release

What's Changed

New way of handling deeplinks and universal links:

@main
struct RNTesterApp: App {
  @UIApplicationDelegateAdaptor var delegate: AppDelegate
  
  var body: some Scene {
    RCTMainWindow(moduleName: "RNTesterApp")
      .onOpenURL(perform: { url in
        RCTLinkingManager.onOpenURL(url: url)
      })
  }
}

Full Changelog: v0.74.0-rc.3-visionos...v0.74.0-rc.4-visionos

Release 0.73.10

10 Apr 14:04
9a00554
Compare
Choose a tag to compare

What's Changed

New way of handling deeplinks and universal links:

@main
struct RNTesterApp: App {
  @UIApplicationDelegateAdaptor var delegate: AppDelegate
  
  var body: some Scene {
    RCTMainWindow(moduleName: "RNTesterApp")
      .onOpenURL(perform: { url in
        RCTLinkingManager.onOpenURL(url: url)
      })
  }
}

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

Release 0.74.0-rc.3

05 Apr 12:20
Compare
Choose a tag to compare
Release 0.74.0-rc.3 Pre-release
Pre-release

What's new?

Fix 0.74.0-rc.2 not building properly

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