Skip to content

Conversation

oliverlaz
Copy link
Member

@oliverlaz oliverlaz commented Jul 22, 2025

Overview

Fixes a TurboModule compatibility issue for Android.
Starting from RN 0.80, isBlockingSynchronousMethod = true annotated methods can't be void and they must return a value.

Fixes: GetStream/stream-video-js#1858

As part of this PR, we are also upgrading the sample apps to RN 0.80.1 and enabling new architecture by default for them.

Ref: https://github.com/facebook/react-native/blob/v0.80.1/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModuleInteropUtils.kt#L59

@Master-Antonio
Copy link

Overview

Fixes a TurboModule compatibility issue for Android. Starting from RN 0.80, isBlockingSynchronousMethod = true annotated methods can't be void and they must return a value.

Fixes: GetStream/stream-video-js#1858

As part of this PR, we are also upgrading the sample apps to RN 0.80.1 and enabling new architecture by default for them.

Ref: https://github.com/facebook/react-native/blob/v0.80.1/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModuleInteropUtils.kt#L59

You are a hero.
Waiting the new architecture finally.
Thanks a lot, really a lot.

@oliverlaz oliverlaz merged commit f849c85 into master Jul 23, 2025
3 checks passed
@oliverlaz oliverlaz deleted the turbo-module-compatibility branch July 23, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error on Android on React Native v0.80.1 when using @stream-io/react-native-webrtc

3 participants