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

iOS 13 StatusBar change color is not working via variables #2940

Closed
5 tasks done
SmirnovM91 opened this issue Sep 24, 2019 · 3 comments
Closed
5 tasks done

iOS 13 StatusBar change color is not working via variables #2940

SmirnovM91 opened this issue Sep 24, 2019 · 3 comments

Comments

@SmirnovM91
Copy link

I have gone through these following points

Issue Description

iOS 13 StatusBar change color is not working via variables

node, npm, react-native, react and native-base version, expo version if used, xcode version

Expected behaviour

Actual behaviour

Steps to reproduce

Is the bug present in both iOS and Android or in any one of them?

Any other additional info which would help us debug the issue quicker.

###Important

If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

@mkrn
Copy link

mkrn commented Sep 27, 2019

For me, on iOS 13 the StatusBar has disappeared (or is white on white) and I can't quite adjust it by setting <Header iosBarStyle="dark-content" />
Happens with Dark Mode on and off.
But it looks like it has nothing to do with NativeBase. React-native needs to be updated to support it:
facebook/react-native#26369

@artshevtsov
Copy link

NativeBase overrides the color of StatusBar with the color from plarform.js or other theme applied to app and does not handle the appearance state change event(when dark or light os theme enabled) for iOS 13/ Android Q.

@hanykumar
Copy link
Contributor

Hi @SmirnovM91 , you cannot set different-different colors on iOS Bar. This feature is limited for now. Closing for now. Let us know if any other issue occurs.

<Header iosBarStyle="dark-content" />
<Header iosBarStyle="light-content" />
<Header iosBarStyle="default" />

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

No branches or pull requests

4 participants