我正在玩 react-native-webview,当我尝试添加这个 URL(https://maps.flydenver.com/)时,我收到了这个错误:
有没有办法来解决这个问题?
import { WebView } from 'react-native-webview';
render() {
return (
<View style={styles.container}>
<StatusBar
backgroundColor='#F1F1F1'
barStyle='dark-content'/>
<WebView
source={{uri: 'https://maps.flydenver.com/'}}
scalesPageToFit = {false}
javaScriptEnabled={true}
domStorageEnabled={true}
renderLoading={this.ActivityIndicatorLoadingView}
startInLoadingState={true}
style={{ flex: 1 }}
/>
</View>
);
}