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

Set default keyboard state #6101

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Set default keyboard state #6101

merged 1 commit into from
Jun 11, 2024

Conversation

piaskowyk
Copy link
Member

Summary

This PR addresses a requested issue that randomly occurs on some Android devices:

java.lang.NullPointerException: Attempt to invoke virtual method 'int com.swmansion.reanimated.keyboard.KeyboardState.asInt()' on a null object reference
        at com.swmansion.reanimated.keyboard.KeyboardAnimationManager.notifyAboutKeyboardChange(KeyboardAnimationManager.java:45)

This NullPointerException was likely caused by the lack of a default value for the mState field.

@piaskowyk piaskowyk added this pull request to the merge queue Jun 11, 2024
Merged via the queue into main with commit 9d6b45f Jun 11, 2024
9 checks passed
@piaskowyk piaskowyk deleted the @piaskowyk/set-default-state branch June 11, 2024 11:11
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