Note WebView is only supported on iOS, Android (excluding Android TV), and UWP. On UWP, WebView support is currently display-only; it does not support direct user interaction.
Warning: WebView is deprecated by Facebook.
For continued support, import the You.i React Native version of WebView from react-native-youi
.
For more information, refer to the You.i React Native WebView component documentation.
Property | Supported | Supported on Roku | Dynamic on Roku | Notes |
---|---|---|---|---|
Inherits View props. | ||||
source | ~v | Not Possible | N/A | |
allowFileAccess | ~x | Not Possible | N/A | |
automaticallyAdjustContentInsets | ~x | Not Possible | N/A | |
injectJavaScript | ~x | Not Possible | N/A | |
injectedJavaScript | ~x | Not Possible | N/A | |
mediaPlaybackRequiresUserAction | ~x | Not Possible | N/A | |
geolocationEnabled | ~x | Not Possible | N/A | |
nativeConfig | ~x | Not Possible | N/A | |
originWhiteList | ~x | Not Possible | N/A | |
onError | ~v | Not Possible | N/A | |
onLoad | ~v | Not Possible | N/A | |
onLoadEnd | ~v | Not Possible | N/A | |
onLoadStart | ~v | Not Possible | N/A | |
onMessage | ~x | Not Possible | N/A | |
onNavigationStateChange | ~v | Not Possible | N/A | |
renderError | ~v | Not Possible | N/A | |
renderLoading | ~v | Not Possible | N/A | |
scalesPageToFit | ~x | Not Possible | N/A | |
onShouldStartLoadWithRequest | ~x | Not Possible | N/A | |
startInLoadingState | ~x | Not Possible | N/A | |
style | ~x | Not Possible | N/A | |
decelerationRate | ~v | Not Possible | N/A | iOS only |
domStorageEnabled | ~x | Not Possible | N/A | |
javaScriptEnabled | ~x | Not Possible | N/A | |
mixedContentMode | ~x | Not Possible | N/A | |
thirdPartyCookiesEnabled | ~x | Not Possible | N/A | |
userAgent | ~x | Not Possible | N/A | |
useWebKit | ~x | Not Possible | N/A | |
allowsInlineMediaPlayback | ~x | Not Possible | N/A | |
bounces | ~v | Not Possible | N/A | iOS only |
contentInset | ~x | Not Possible | N/A | |
dataDetectorTypes | ~x | Not Possible | N/A | |
scrollEnabled | ~v | Not Possible | N/A | iOS only |
allowUniversalAccessFromFileURLs | ~x | Not Possible | N/A | |
url (deprecated) | ~x | Not Possible | N/A | |
html (deprecated) | ~x | Not Possible | N/A |
Method | Supported (not Roku) | Supported on Roku | Dynamic on Roku | Notes |
---|---|---|---|---|
extraNativeComponentConfig | ~x | Not Possible | N/A |