react-native-web-webview
react-native-web-webview copied to clipboard
baseUrl does not seem to work in source attribute
Example:
<WebView
originWhitelist={['*']}
mixedContentMode={'always'}
onMessage={onMessage}
javaScriptEnabled
automaticallyAdjustContentInsets
source={{
html: generateTheWebViewContent(),
baseUrl: `${url}`,
}}
/>
The baseUrl for the webview is returned as about:srcdoc
If this is true, it may be what is causing the inability to display other languages or UTF8 chars within the web version of the WebView as well. - https://stackoverflow.com/questions/47989389/react-native-webview-android-arabic-text-showing-up-as-weird-character