Closed RichardLindhout closed 6 months ago
Let's get rid of some of the commented out code if it's OBE.
Android continue with problems:
@RichardLindhout This still seems to be an issue on the latest version as @SoyDiego has pointed out. presentationStyle
seems to have some affect on it
This is a bug in the react native statusbar component when inside a modal unfortunaly. I was hoping it was only in the development build of expo and not in production.
https://github.com/facebook/react-native/issues/34350
But on the snack someone provided it does seem to work. Let me try again what's the difference with our stuff
It does seem like the modalBackground has effect on statusbar somehow..
It does work in this snack but not on my android emulator... https://snack.expo.dev/@richardlindhout/status-bar-tester
It does seem to work if you put
<StatusBar
barStyle={'dark-content'}
translucent
backgroundColor={'#ffffff'}
/>
In your app.tsx like in example. Only the statusbar does not update itself on android it seems to e.g. light-content if background is dark.