'React native webview throws webkit version warning

I'm working with react-native-webview to show an external site in my app, but the following warning message is showing each time the webview is loaded.

The code of the component is not complex, just <Webkit source={{ uri: 'example.com' }} />

I couldn't find any reference to this. Does anyone know what can I do to remove the message?

Webkit warning message

Edit: After some tests, the webview only shows the message when it loads our website public pages, with other urls it works fine. Can it be any configuration in our site that I'm missing?



Solution 1:[1]

I have created a very minimal expo project with react-native-webview (v11.17.1) and it's working absolutely fine.

import { WebView } from 'react-native-webview';

export default function App() {
  return (
    <WebView source={{ uri: 'https://reactnative.dev/' }} />
  );
}

Working screenshot: here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 chankruze