react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

unable to build reanimated with latest react due to turbo module classes removal

Open Icehunter opened this issue 5 months ago • 8 comments

Description

React Native starting with the 0.74 nighties has removed the classes for TurboModules and made them internal.

https://github.com/facebook/react-native/pull/39682

With this change, I am unable to use the library with latest RN.

node_modules/react-native-reanimated/android/src/paper/java/com/swmansion/reanimated/NativeProxy.java:9: error: package com.facebook.react.turbomodule.core does not exist
import com.facebook.react.turbomodule.core.CallInvokerHolderImpl

Steps to reproduce

  1. setup any sample app with react-native@nightly along with latest reanimated
  2. try to build

Snack or a link to a repository

https://github.com/facebook/react-native/pull/39682

Reanimated version

3.6.1

React Native version

0.74-0 nightly

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

Fabric (New Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

No response

Acknowledgements

Yes

Icehunter avatar Jan 11 '24 00:01 Icehunter

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Jan 11 '24 00:01 github-actions[bot]

Wrong button sorry. It's still issue with @next as well.

Icehunter avatar Jan 11 '24 00:01 Icehunter

yep still issue is but i'm trying to solve it

zahidhussain998 avatar Jan 12 '24 16:01 zahidhussain998

Hey, we haven't been supporting [email protected] :/ We are working on it here - https://github.com/software-mansion/react-native-reanimated/pull/5328

piaskowyk avatar Jan 17 '24 11:01 piaskowyk

any news on RN 0.74 support? facing a different error and saw this; the linked PR was closed without merging and I can't seem to find anything else about 0.74

Rexogamer avatar Mar 17 '24 02:03 Rexogamer

same

Gu1K avatar Apr 04 '24 09:04 Gu1K

another pr was opened and merged, so it should just be a matter of cutting a new release

Rexogamer avatar Apr 04 '24 21:04 Rexogamer

fixed in v3.9.0-rc.0 :tada:

Rexogamer avatar Apr 22 '24 20:04 Rexogamer