-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
RN Reanimated: fix deprecated/ removed File.exists method #5592
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I see that react-native-reanimated released v3 RC-10 with this fix https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.10 We are currently using Reanimated2, the latest stable version. Let's keep an eye on it & prepare to do a major version bump when it gets out of RC stage |
For anyone dropping in here who wish to stay on v2: Has the aforementioned fix included. |
Description
react-native-reanimated 2.11.0 uses a deprecated ruby method that breaks the command
pod install
at least on ruby 2.6 onwards[1]Problem also spotted on react-native repository[2] as well as react-native-reanimated[3]
Screenshots/Recordings
This patch replaces the deprecated method with the recommended one[1]
[1] https://rubyapi.org/2.6/o/file#method-c-exist-3F
[2] facebook/react-native#35853
[3] software-mansion/react-native-reanimated#3919