question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo 44 does not set up react-native-reanimated with expo-dev-client

See original GitHub issue

Summary

When setting up react-native reanimated 2.3 with expo-dev-client. I would expect that the android setup from reanimated documentation https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/ is made automatically by expo. I expect this because reanimated is a package supported by the expo app.

However, when I generate the android folder and check the files, the setup is not done. If the setup is not supposed to be done automatically, we should at least add some documentation in https://docs.expo.dev/versions/latest/sdk/reanimated/ and eventually provide an expo plugin.

Here is a related issue: https://github.com/software-mansion/react-native-reanimated/issues/2702#issuecomment-1096282710

PS: I answer managed workflow in the following because I believe that using expo dev client is still managed. Please tell me if I should change it to bare.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

Android

SDK Version (managed workflow only)

44

Environment

expo-env-info 1.0.2 environment info: System: OS: macOS 12.3.1 Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 26, 27, 28, 29, 30, 31 Build Tools: 28.0.3, 29.0.2, 29.0.3 System Images: android-19 | Google APIs Intel x86 Atom, android-21 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom_64, android-25 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom IDEs: Android Studio: Bumblebee 2021.1.1 Patch 2 Bumblebee 2021.1.1 Patch 2 Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild npmPackages: expo: ~44.0.0 => 44.0.6 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 react-native-web: 0.17.1 => 0.17.1 Expo Workflow: bare

Reproducible demo

Initiate a new project, then, setup expo dev client, add react-native-reanimated and launch the android dev client build:

expo install expo-dev-client
expo install react-native-reanimated 
expo run:android

Check android folder for setup from https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/

Example repository here: https://github.com/abumalick/expo-reanimated-dev-client

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jeff-pollscommented, Apr 28, 2022

I am also running into this. Thank you for digging into it @abumalick , unfortunately your plugin didn’t work for me.

Very frustrating to upgrade to the latest Expo SDK and now I can’t use Dev Client. Expo Team will this be fixed by an update to the reanimated plugin?

0reactions
github-actions[bot]commented, Oct 11, 2022

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo SDK 44. Today we're announcing the release of…
Today we're announcing the release of Expo SDK 44. SDK 44 includes React Native 0.64.3. Thank you to everyone who helped with beta...
Read more >
[SDK 44]Expo application throws TypeError: undefined is not ...
I got this issue after upgrading to the latest Expo SDK 44 the android app didn't open with an error related to libphonenumber-js...
Read more >
Expo SDK 38 is now available - DEV Community ‍ ‍
The new expo-linking package makes it easier than ever to create deep links that work in both managed and bare workflow projects, and...
Read more >
Expo vs Vanilla React Native Development: What to Choose
Expo client is an app that is installed from Google Play and Apple ... Based on our React Native team experience, detach is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found