react-native-root-view-background icon indicating copy to clipboard operation
react-native-root-view-background copied to clipboard

Does not seem to work

Open rasselll opened this issue 7 years ago • 1 comments

Still get a white background

export default class Main extends Component {

componentWillMount = () => { setRootViewBackgroundColor('#000'); BackHandler.addEventListener('hardwareBackPress', () => Actions.pop()); };

rasselll avatar Mar 22 '18 19:03 rasselll

Can you try to use it in componentDidMount? Are you sure that you done all installation steps correctly?

johniak avatar Nov 25 '18 14:11 johniak