@sceneview-sdk/react-native 4.31.0 → 4.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,8 +31,9 @@ React Native bindings for [SceneView](https://sceneview.github.io) — 3D and AR
31
31
  npm install @sceneview-sdk/react-native
32
32
  ```
33
33
 
34
- The `publish-rn` job publishes this bridge on every `vX.Y.Z` tag, so `latest`
35
- on npm tracks the current SceneView release (#924, #962).
34
+ The `publish-rn` job is meant to publish this bridge on every `vX.Y.Z` tag
35
+ (#924, #962), but the npm `latest` can lag the SceneView release — the npm
36
+ badge above shows the version actually published.
36
37
 
37
38
  There is no GitHub-install fallback: this is a monorepo with no root
38
39
  `package.json`, so `npm install github:sceneview/sceneview` cannot resolve the
@@ -61,6 +62,9 @@ your `Podfile`:
61
62
  pod 'SceneViewSwift',
62
63
  :podspec => 'https://raw.githubusercontent.com/sceneview/sceneview/main/SceneViewSwift.podspec'
63
64
 
65
+ # Released consumers — pinned to a tag (v4.28.0 or newer)
66
+ pod 'SceneViewSwift', :git => 'https://github.com/sceneview/sceneview.git', :tag => 'v4.39.0'
67
+
64
68
  # In-repo consumers — resolve from a local checkout
65
69
  pod 'SceneViewSwift', :path => '<repo-root>'
66
70
  ```
@@ -68,14 +72,11 @@ pod 'SceneViewSwift', :path => '<repo-root>'
68
72
  `samples/react-native-demo/ios/Podfile` takes the `:path` route, exactly as
69
73
  `samples/flutter-demo/ios/Podfile` does.
70
74
 
71
- > **`main`, not a tag — for now.** A tagged coordinate would be the
72
- > reproducible one, but `SceneViewSwift.podspec` lives at the repo *root* and
73
- > landed after `v4.26.0` was cut, so no tag that currently exists carries it:
74
- > `pod install` against `.../v4.27.0/SceneViewSwift.podspec` is a 404, verified
75
- > with `git cat-file -e v4.27.0:SceneViewSwift.podspec`. The Flutter plugin
76
- > documents `main` for the same reason. Both move to
77
- > `:git => …, :tag => 'vX.Y.Z'` the first time a release is cut with that file
78
- > in it.
75
+ > **Tags before `v4.28.0` cannot be pinned.** `SceneViewSwift.podspec` lives
76
+ > at the repo *root* and first shipped in `v4.28.0`: `pod install` against
77
+ > `.../v4.27.0/SceneViewSwift.podspec` is a 404 (`git cat-file -e
78
+ > v4.27.0:SceneViewSwift.podspec` fails). The `:podspec =>` line reads the spec
79
+ > from `main` while the sources still come from the tag that spec pins.
79
80
 
80
81
  > **Always supply the coordinate.** The `SceneViewSwift` name is unclaimed on
81
82
  > the CocoaPods trunk, so a `Podfile` that omits the line does not fail closed
@@ -260,14 +261,9 @@ coverage map (tracked in [#909](https://github.com/sceneview/sceneview/issues/90
260
261
  > `SceneViewerHostView.reportTap`, and this module's `onTapEntity` block — and
261
262
  > every stage fired.
262
263
  >
263
- > This does **not** clear the sibling bridge: Flutter's 3D `onTap` still never
264
- > fires on iOS ([#3045](https://github.com/sceneview/sceneview/issues/3045)).
265
- > The same run measured both hosts back to back against the *same*
266
- > SceneViewSwift build and the same entity graph (11 entities, 1 collision
267
- > shape, 9 input targets in each): 6 taps on the model under Flutter resolved
268
- > no entity at all, while the plain, untargeted gesture arrived every time. So
269
- > #3045 is a property of Flutter's platform-view touch delivery, not of
270
- > RealityKit's entity-targeted hit test — which is what its write-up claims.
264
+ > The sibling Flutter bridge had its own iOS 3D `onTap` gap, since fixed
265
+ > ([#3045](https://github.com/sceneview/sceneview/issues/3045)): a Flutter
266
+ > platform-view gesture policy plus a manual raycast in `SceneView`.
271
267
 
272
268
  On
273
269
  `ARSceneView` *what a hit reports* differs: **Android** hit-tests the AR
@@ -294,7 +290,7 @@ coverage map (tracked in [#909](https://github.com/sceneview/sceneview/issues/90
294
290
 
295
291
  ## Contributing
296
292
 
297
- See [CONTRIBUTING.md](https://github.com/sceneview/sceneview/blob/main/.github/CONTRIBUTING.md).
293
+ See [CONTRIBUTING.md](https://github.com/sceneview/sceneview/blob/main/CONTRIBUTING.md).
298
294
 
299
295
  ### Local checks
300
296
 
@@ -12,7 +12,7 @@ plugins {
12
12
 
13
13
  android {
14
14
  namespace = "io.github.sceneview.reactnative"
15
- compileSdk = 35
15
+ compileSdk = 37
16
16
 
17
17
  defaultConfig {
18
18
  minSdk = 24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sceneview-sdk/react-native",
3
- "version": "4.31.0",
3
+ "version": "4.42.0",
4
4
  "description": "React Native bindings for SceneView — 3D and AR scenes powered by Filament (Android) and RealityKit (iOS)",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -76,9 +76,13 @@
76
76
  "fast-xml-parser": "^5.7.0",
77
77
  "@babel/core": "^7.29.6",
78
78
  "shell-quote": "^1.8.4",
79
- "js-yaml": "^3.15.0",
79
+ "js-yaml": "^3.15.1",
80
80
  "ws@^7.0.0": "^7.5.11",
81
- "ws@^6.0.0": "^6.2.4"
81
+ "ws@^6.0.0": "^6.2.4",
82
+ "brace-expansion": "^1.1.18",
83
+ "react-native-builder-bob": {
84
+ "brace-expansion": "^2.1.4"
85
+ }
82
86
  },
83
87
  "react-native-builder-bob": {
84
88
  "source": "src",
@@ -48,7 +48,7 @@ Pod::Spec.new do |s|
48
48
  #
49
49
  # Loose `~> 4.27` rather than `= s.version`: an app pinned to an older
50
50
  # SceneViewSwift still resolves, mirroring `flutter_sceneview.podspec`.
51
- s.dependency "SceneViewSwift", "~> 4.31"
51
+ s.dependency "SceneViewSwift", "~> 4.42"
52
52
 
53
53
  s.swift_version = "5.9"
54
54
  end