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

Use getBool instead of asBool to make it work with RN pre 69 #3825

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

kmagiera
Copy link
Member

Summary

JSI's asBool was only added in RN 69. This PR changes asBool to getBool calls in order to support older RN versions.

Test plan

Check if things build on RN 67 and on RN 70

@kmagiera kmagiera merged commit 63c66e3 into main Nov 30, 2022
@kmagiera kmagiera deleted the shareable/fix-rn-68 branch November 30, 2022 16:18
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
…e-mansion#3825)

## Summary

JSI's `asBool` was only added in RN 69. This PR changes `asBool` to
`getBool` calls in order to support older RN versions.

## Test plan

Check if things build on RN 67 and on RN 70
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.

2 participants