I am using react-native to build a simple app. I am running into an error when trying to change the background color and content color in the Status bar. I currently am testing on my iPhone 8. Does any know how to make these changes to status bar? I checked out this [doc][1], but its not recognizing 'route'. please help. thanks :) `
render() {
    return (
        <View>
            <StatusBar
            backgroundColor="red"
            barStyle="light-content"
             />
            <Button
                    title="go to Home"
                    color ="#841584"
            onPress={() => this.props.navigation.push('Home')} />
        </View>      
    );
}
}`
 
    