From 09f1e8b90abe044e2c7c203db7b61e1438c25fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Fazekas?= Date: Wed, 19 Aug 2026 14:47:07 +0200 Subject: [PATCH] fix: bump rive-android to 11.9.1 and rive-ios to 6.23.1 Bumps the pinned native runtimes to the latest releases: rive-android 11.7.2 -> 11.9.1 and rive-ios 6.21.1 -> 6.23.1. On Android, 11.8.0 removed CommandQueue.settledFlow and 11.9.0 restored it as a deprecated shim, so the settling observer behind onStop keeps working under a suppression. 11.9.0 also tightens resource lifetime contracts (operations on closed resources now throw RiveResourceClosedException synchronously) and adds clearing of image properties. On iOS, 6.22.0 adds view-model instance names, 6.23.0 fixes data bindings in some state-machine files plus Metal validation errors when rendering images, and 6.23.1 makes runtime assertions debug-only. --- android/src/new/java/com/rive/RiveReactNativeView.kt | 3 +++ ios/new/RiveRuntimeLogger.swift | 2 +- package.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/android/src/new/java/com/rive/RiveReactNativeView.kt b/android/src/new/java/com/rive/RiveReactNativeView.kt index dcfdf423..66a4b7b9 100644 --- a/android/src/new/java/com/rive/RiveReactNativeView.kt +++ b/android/src/new/java/com/rive/RiveReactNativeView.kt @@ -317,6 +317,9 @@ class RiveReactNativeView(context: ThemedReactContext) : FrameLayout(context) { settled = false settledJob?.cancel() settledJob = viewScope.launch { + // Deprecated in rive-android >= 11.8 (removal planned for 12.0), kept as a + // compatibility shim. Revisit when 12.0 defines the long-term settling surface. + @Suppress("DEPRECATION") worker.settledFlow.collect { settledHandle -> if (settledHandle == handle && !settled) { settled = true diff --git a/ios/new/RiveRuntimeLogger.swift b/ios/new/RiveRuntimeLogger.swift index 4a2de7e2..59106928 100644 --- a/ios/new/RiveRuntimeLogger.swift +++ b/ios/new/RiveRuntimeLogger.swift @@ -58,7 +58,7 @@ final class RiveRuntimeLogger: RiveRuntime.RiveLog.Logger, @unchecked Sendable { // first frame(s) have no drawable yet; the SDK logs that transient // condition at error level, which LogBox turns into a red screen in dev. // Rendering recovers on the next tick, so forward it as debug instead. - // https://github.com/rive-app/rive-ios/blob/6.21.1/Source/Concurrency/View/RiveUIView.swift#L449-L454 + // https://github.com/rive-app/rive-ios/blob/6.23.1/Source/Concurrency/View/RiveUIView.swift#L448-L453 if case .view = tag, text == "Draw failed: missing drawable" { RiveLog.d(name, "\(text)\(suffix)") return diff --git a/package.json b/package.json index dac5c146..ccebce61 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ }, "homepage": "https://github.com/rive-app/rive-nitro-react-native#readme", "runtimeVersions": { - "ios": "6.21.1", - "android": "11.7.2" + "ios": "6.23.1", + "android": "11.9.1" }, "publishConfig": { "registry": "https://registry.npmjs.org/"