@sceneview-sdk/react-native 4.7.0 → 4.8.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/android/build.gradle.kts +19 -9
- package/package.json +1 -1
package/android/build.gradle.kts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
plugins {
|
|
2
2
|
id("com.android.library")
|
|
3
3
|
id("org.jetbrains.kotlin.android")
|
|
4
|
+
// Kotlin 2.x requires the Compose Compiler Gradle plugin. The version is
|
|
5
|
+
// supplied by the host React Native app's Kotlin Gradle plugin (it ships
|
|
6
|
+
// with the same coordinates), so it is applied without an explicit version
|
|
7
|
+
// here — exactly like `org.jetbrains.kotlin.android` above. The legacy
|
|
8
|
+
// `composeOptions { kotlinCompilerExtensionVersion }` block is obsolete
|
|
9
|
+
// under Kotlin 2.x and has been removed.
|
|
10
|
+
id("org.jetbrains.kotlin.plugin.compose")
|
|
4
11
|
}
|
|
5
12
|
|
|
6
13
|
android {
|
|
@@ -14,22 +21,25 @@ android {
|
|
|
14
21
|
buildFeatures {
|
|
15
22
|
compose = true
|
|
16
23
|
}
|
|
17
|
-
|
|
18
|
-
composeOptions {
|
|
19
|
-
kotlinCompilerExtensionVersion = "1.5.14"
|
|
20
|
-
}
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
dependencies {
|
|
24
|
-
// SceneView —
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
// SceneView — track the last PUBLISHED release on Maven Central (4.7.0).
|
|
28
|
+
// The bridge Kotlin already targets the 4.x API surface (the `SceneView { }`
|
|
29
|
+
// composable, `rememberEngine`, the `SceneScope` node DSL); only these
|
|
30
|
+
// coordinates lagged behind on the year-old 3.6.0. Keep this aligned with
|
|
31
|
+
// the latest published artifact, NOT the in-development `VERSION_NAME`
|
|
32
|
+
// (see #1494).
|
|
33
|
+
implementation("io.github.sceneview:sceneview:4.7.0")
|
|
34
|
+
implementation("io.github.sceneview:arsceneview:4.7.0")
|
|
27
35
|
|
|
28
36
|
// React Native
|
|
29
37
|
implementation("com.facebook.react:react-android")
|
|
30
38
|
|
|
31
|
-
// Compose
|
|
32
|
-
|
|
39
|
+
// Compose — BOM aligned with the repo's `gradle/libs.versions.toml`
|
|
40
|
+
// (`composeBom = 2026.05.00`) to avoid an ABI mismatch with the SceneView
|
|
41
|
+
// library, which is compiled against that same BOM.
|
|
42
|
+
implementation(platform("androidx.compose:compose-bom:2026.05.00"))
|
|
33
43
|
implementation("androidx.compose.ui:ui")
|
|
34
44
|
implementation("androidx.compose.foundation:foundation")
|
|
35
45
|
implementation("androidx.compose.runtime:runtime")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sceneview-sdk/react-native",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.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",
|