The backgroundColor does not set the backgroundColor of the loadingView.
This color is hardcoded to white. It works only when i set useWebKit={false}. Which leads to a white flash when the WebView is initializing.
To Reproduce:
ref={(ref) => this.webview = ref}
source={{ html }}
scrollEnabled={false}
mediaPlaybackRequiresUserAction={false}
allowsInlineMediaPlayback={true}
onShouldStartLoadWithRequest={this.onWebviewRedirect}
/>
Expected behavior:
The background should be the color defined via backgroundColor when the Webview is initializing.
Environment:
Can you adjust the loading behavior with the renderLoading prop ?
@Titozzz ah i see, yes this does the trick (loading view is now green):
startInLoadingState={true}
renderLoading={() =>
Most helpful comment
@Titozzz ah i see, yes this does the trick (loading view is now green):}
startInLoadingState={true}
renderLoading={() =>