software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.62k stars 1.27k forks source link

[Reanimated] Couldn't determine the version of the native part of Reanimated. #4134

Open pouyarezvani opened 1 year ago

pouyarezvani commented 1 year ago

Description

When Upgrading to version 3 I get the following error. [Reanimated] Couldn't determine the version of the native part of Reanimated. Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must use the exact version which is bundled into Expo SDK.

image

I am using Expo Version 37, React Version 18, and reanimated Version "next" and react-native Version 0.70.5

Steps to reproduce

  1. upgrade to reanimated version 'next/3' and
  2. Run expo GO
  3. and get that error

Snack or a link to a repository

https://snack.expo.io/

Reanimated version

3.0.0

React Native version

70

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 1 year ago

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete React Native version section.

github-actions[bot] commented 1 year ago

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?

arasrezaei commented 1 year ago

expo still do not support V3.

radko93 commented 1 year ago

Expo go do not support new reanimated. Also you might want to be on Expo 48 already.

pouyarezvani commented 1 year ago

@radko93 Do you know how soon we can start using v3? Thanks

brandon2580 commented 1 year ago

@pouyarezvani Hey did you happen to find a reliable fix for this? I'm using expo SDK 48 and I've tried pretty much everything I can think of with no luck

AnatuGreen commented 1 year ago

Expo continues with it's many problems. I am stuck with this also

FCartier commented 1 year ago

Facing the same issue on my side with Expo 48.0.16 and react-native-reanimated version 2.14.4

camchis commented 11 months ago

Same error for me "react-native": "^0.70.7" "react-native-reanimated": "2.14.4"

Not an expo project

powerpivar commented 11 months ago

Same issue for me,

"react": "18.2.0" "react-native": "0.72.3" "react-native-reanimated": "2.14.4"

No expo, IOS platform.

fukemy commented 11 months ago

any solution now?

iainb123 commented 11 months ago

I'm having the same problem, using react-native 0.71.8, react-native-reanimated 2.14.4, no expo, IOS platform. It looks like the native component should set "_REANIMATED_VERSION_CPP" when it loads. I can see this in the .mm file in REAInitializer in the npm package, and this is visible in XCode in the Pods project, so it appears to be being built. Somehow it isn't getting copied, or it is failing to initialise.

Tracing this through:

Scattering prints through the code in REAModule.mm shows that it is calling installTurboModule() and then stopping (aren't "turbo modules" part of the new framework, while we want to be on the old?)

This version looks like it is half-way between two frameworks. Curious if anyone has got this working recently?

prayaslashkari commented 10 months ago

Facing this w/

"react-native-reanimated": "3.4.2" "react-native": "0.70.10"

Migrated from react-natigve-reanimated 2.13.0. We get these errors mostly when we do OTA update.

awesomedan93 commented 8 months ago

still nothing ?

Aakash359 commented 6 months ago

Hello i currenlty i am using react native version react-native@0.73.0 and i have the reanimated version 3.5.4 it is working in android simulator but when i am trying to run on my android devices then it's giving this error i had tried many version of reanimated lib but none of them working getting same issues pls someone help me to resolve this issues ![Uploading 7ddcf101-2471-4672-9ef4-d316d472ca56.JPG…]()

teddybee commented 5 months ago

Same issue here with Expo SDK 50.0.2, npx expo install --fix is not fixing this warning. "expo": "^50.0.2", "react-native": "0.73.2", "react-native-reanimated": "~3.6.0", "@react-navigation/drawer": "^6.6.6",

bobOnGitHub commented 5 months ago

same.

kiyohken2000 commented 5 months ago

same issue.

"expo": "^50.0.2", "react-native-reanimated": "~3.6.0",

demfabris commented 5 months ago

Yep, upgraded to expo sdk 50 and I'm also seeing this

ewein commented 5 months ago

I upgraded react-native-reanimated to 3.6.1 which seems to have fixed the issue.

Shazam72 commented 5 months ago

That's not good on my side though. I upgraded to 3.6.1 and i'm using expo sdk 50 (migrated from sdk 48) but it's still the same

Shazam72 commented 5 months ago

Everything's working but the warnings are making me crazy. Gotta build it with the warnings, the client want his app tomorrow

ikaaasra commented 5 months ago

I see it with the latest versions

ananduremanan commented 5 months ago

downgrading expo to "expo": "~49.0.15" fix this issue for me...

phillippschmedt commented 5 months ago

Seeing the same issue.

ananduremanan commented 5 months ago

Seems like they messed up in the new expo version

AlexNodex commented 5 months ago

Same, Expo 50 upgrade from 49....

ambikaKum commented 4 months ago

facing same issue over Android, no expo "react-native-reanimated": "3.6.1", "react-native": "^0.73.1",