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

fix: 🐛 status bar manager issue with new rn fabric #3329

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

Conversation

sivantha96
Copy link

Description

Fixed the issue where it throws a runtime error for projects which has React Native Fabric (New Architecture) enabled.

Changelog

Removed StatusBarManager and used the official React Native's StatusBar module to get the current height of the status bar when the setStatusBarHeight function is called.

Also fixed some unit test case failures and did some code improvements.

Additional info

Fixes #3320

@ethanshar ethanshar self-requested a review October 30, 2024 11:15
@ethanshar ethanshar self-assigned this Oct 30, 2024
@sivantha96
Copy link
Author

+1

@borstessi
Copy link

+1

2 similar comments
@felipejh
Copy link

felipejh commented Nov 9, 2024

+1

@thejoaov
Copy link

+1

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.

Library does not work with React Native version 0.76.0
5 participants