Can't get JavaScript working in React-Native WebView on Android:
<View style={[styles.flex]}>
<WebView
style={[styles.flex]}
source={{uri: 'http://partners.zeew.eu/'}}
javaScriptEnabled={true}
/>
</View>
Try running on a real Android device.
I am not sure if anything more than javaScriptEnabled is needed.
render() { return ( <WebView source={{ uri: this.props.uri }} style={{ marginTop: 0 }} scalesPageToFit javaScriptEnabled domStorageEnabled startInLoadingState mixedContentMode="always" /> ); }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.