when I'm entering a screen, the app just crashes / closes immediately when it's doing this check. It's checking for if webivew is true or false.
Any reason why?
const [webview, setWebview] = useState(false);{webview ? (<View><WebView style={{ height: "100%", width: "100%" }} source={{ uri: "https://www.google.com/" }} /></View> ) : null}