Skip to content

Use getBool instead of asBool #3961

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

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Use getBool instead of asBool #3961

merged 1 commit into from
Jan 18, 2023

Conversation

tomekzaw
Copy link
Member

Summary

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

Test plan

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@tomekzaw tomekzaw merged commit ec67bc8 into main Jan 18, 2023
@tomekzaw tomekzaw deleted the @tomekzaw/get-bool branch January 18, 2023 08:34
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

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

## Test plan

<!-- Provide a minimal but complete code snippet that can be used to
test out this change along with instructions how to run it and a
description of the expected behavior. -->
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.

None yet

2 participants