baseUrl does not seem to work in source attribute
Opened this issue · 1 comments
sujayjaju commented
Example:
<WebView
originWhitelist={['*']}
mixedContentMode={'always'}
onMessage={onMessage}
javaScriptEnabled
automaticallyAdjustContentInsets
source={{
html: generateTheWebViewContent(),
baseUrl: `${url}`,
}}
/>
The baseUrl for the webview is returned as about:srcdoc
tathagatatranslated commented
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