Please provide the following:
- SDK Version:“36.0.0”
- Platforms(Android/iOS/web/all):all
Here is my app.json setting:
{
"expo": {
"sdkVersion": "36.0.0",
"platforms": [
"ios",
"android",
"web"
],
"userInterfaceStyle": "light",
"ios": {
"userInterfaceStyle": "light"
},
"android": {
"userInterfaceStyle": "dark"
}
...
Here is my App.js setting:
import React from 'react';
import { createStackNavigator } from 'react-navigation-stack';
import { createAppContainer } from 'react-navigation';
import { AppearanceProvider } from 'react-native-appearance';
...
const AppContainer = createAppContainer(SwitchNavigator);
export default class App extends React.Component {
render() {
return <AppearanceProvider><AppContainer></AppContainer></AppearanceProvider>
}
}
I want to let my app always in light mode.
Follow this official doc:https://docs.expo.io/versions/latest/sdk/appearance/
But my setting “userInterfaceStyle”: “light” in global is not work
In expo client and standalone app all not work.
Have any idea?