Skip to content

Commit 94c6f58

Browse files
update: fix virokit deps
1 parent 2942113 commit 94c6f58

File tree

7 files changed

+20
-7
lines changed

7 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## v2.43.6 - 08 October 2025
4+
5+
- **Fixed pod install issues**: Adjusted ViroKit requirements
6+
- Resolved persisting pod installation failures
7+
38
## v2.43.5 - 07 October 2025
49

510
### iOS Improvements
@@ -12,12 +17,14 @@
1217
### Fabric Architecture Improvements
1318

1419
- **Enhanced Fabric compatibility**: Migrated 30 methods across 8 Java modules to use Fabric's `UIBlock` pattern
20+
1521
- Fixed `ReactNoCrashBridgeNotAllowedSoftException` errors in production
1622
- Replaced deprecated `getNativeModule(UIManagerModule.class)` with `UIManagerHelper.getUIManager()`
1723
- Updated to use `com.facebook.react.fabric.interop.UIBlock` and `UIBlockViewResolver`
1824
- Modules updated: ARSceneModule, ARSceneNavigatorModule, CameraModule, ControllerModule, NodeModule, SceneModule, SceneNavigatorModule, VRT3DSceneNavigatorModule
1925

2026
- **Improved prop handling**: Added Fabric-aware error recovery system in VRTNodeManager
27+
2128
- Removed `isAttachedToWindow()` checks that blocked prop updates in Fabric's pre-attachment phase
2229
- Implemented `safelyApplyProp()` pattern with automatic retry on transient failures
2330
- Enhanced error logging for better debugging
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VIRO_VERSION = "2.43.5";
1+
export const VIRO_VERSION = "2.43.6";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export declare const VIRO_VERSION = "2.43.5";
1+
export declare const VIRO_VERSION = "2.43.6";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
33
exports.VIRO_VERSION = void 0;
4-
exports.VIRO_VERSION = "2.43.5";
4+
exports.VIRO_VERSION = "2.43.6";

dist/plugins/withViroAndroid.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,17 @@ const withBranchAndroid = (config) => {
3131
throw new Error("MainApplication.kt or MainApplication.java file not found.");
3232
}
3333
fs_1.default.readFile(mainApplicationPath, "utf-8", (err, data) => {
34+
const packageName = config?.android?.package;
3435
if (isJava) {
35-
data = (0, insertLinesHelper_1.insertLinesHelper)("import com.viromedia.bridge.ReactViroPackage;", `package ${config?.android?.package};`, data);
36+
data = (0, insertLinesHelper_1.insertLinesHelper)("import com.viromedia.bridge.ReactViroPackage;", `package ${packageName};`, data);
3637
}
3738
else {
38-
data = (0, insertLinesHelper_1.insertLinesHelper)("import com.viromedia.bridge.ReactViroPackage", `package ${config?.android?.package}`, data);
39+
// Handle Backticks in package names for Kotlin
40+
const packageMatch = data.match(/package\s+[\w.`]+/);
41+
if (!packageMatch) {
42+
throw new Error("Package declaration not found in MainApplication.kt");
43+
}
44+
data = (0, insertLinesHelper_1.insertLinesHelper)("import com.viromedia.bridge.ReactViroPackage", packageMatch[0], data);
3945
}
4046
const viroPlugin = config?.plugins?.find((plugin) => Array.isArray(plugin) && plugin[0] === "@reactvision/react-viro");
4147
if (Array.isArray(viroPlugin)) {

ios/dist/ViroRenderer/ViroKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Pod::Spec.new do |s|
88
s.license = {:type => 'Copyright', :text => "Copyright 2025 ReactVision" }
99
s.author = 'ReactVision'
1010
s.requires_arc = true
11-
s.platform = :ios, '17.6'
11+
s.platform = :ios, '13.0'
1212
s.dependency 'React'
1313
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "dist/index.js",
44
"module": "dist/index.js",
55
"types": "dist/index.d.ts",
6-
"version": "2.43.5",
6+
"version": "2.43.6",
77
"license": "MIT",
88
"publishConfig": {
99
"registry": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)