-
Notifications
You must be signed in to change notification settings - Fork 33
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
StatusBarSizeIOS.currentHeight === null ? #9
Comments
Btw, these are my dependencies from package.json
The code is the same as your example, I just copy & pasted it from your README.md |
@pavlelekic I get the same Did you manage to solve this? |
@narek11 FYI that package is no better than hardcoding a status bar height via a constant so I wouldn't use it. With that said, it seems flaky right now. I get |
If you're looking for just the height of the header, you can do
|
Any way to listen to the StatusBar height change using StatusBarManager? |
Hi,
I have some issues getting the status bar size, in getInitialState() I get null when calling StatusBarSizeIOS.currentHeight.
Also, if I do device rotate left nothing will trigger, but then when I do device rotate right I get a 'willChange' event, and the value I get is 0, which is wrong completely.
So basically, I cannot get status bar size at all, and in rare occasions when I do get a value- it's wrong.
The text was updated successfully, but these errors were encountered: