I'm learning React Native (without React knowledge), but my problem is the status bar always get a translucent black background and I can remove it. I tried every stackoverflow answer, and even React Native and Expo documentation. But nothing...
The status bar has a white background supposedly, and get this grey overlay, that is what I want to remove.
Here is my code:
render() {
return (
<View>
<StatusBar background="white" />
<Button title="Sign in!" onPress={this._signInAsync} />
</View>
);
}
I even tried this, on app.js
"androidStatusBar": {
"backgroundColor": "#C2185B"
},
I'm starting to think, this is related to Expo.
from How to remove black overlay on status bar on android with React Native

No comments:
Post a Comment