Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update peer dependency for reanimated to allow the use of reanimated v4 #2223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skusnierz
Copy link

Motivation

Currently, running an application that uses react-native-bottom-sheet along with reanimated v4 causes a warning to be displayed :

The following packages should be updated for best compatibility with the installed expo version:
  [email protected] - expected version: ~3.16.1
Your project may not work correctly until you install the expected versions of the packages.

The following changes will cause this warning not to be displayed, I tested with the example that is in the repository and everything works fine

@@ -65,7 +65,7 @@
"react": "*",
"react-native": "*",
"react-native-gesture-handler": ">=2.16.1",
"react-native-reanimated": ">=3.16.0"
"react-native-reanimated": ">=3.16.0 || >=4.0.0-"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi: this - at the end is not typo, it is about beta version coverage e.g. 4.0.0-beta.3

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.

1 participant