react-native-webview 10.7.0 crashing

Please provide the following:

  1. SDK Version:
  2. Platforms(Android/iOS/web/all):

After recent upgrade to SDK 39 and react-native-webview 10.7.0 react-native-webview is crashing with no stack trace

My phone is an Oppo CPH1941

Setting androidHardwareAccelerationDisabled={true} allows it to load but then it just shows blank

It is possible to get it to work by loading the page and then editing the code while the page is live so it may be a navigation issue

In the last sentence I realised what may have gone wrong. The navigation had been changed from react-navigation to @react-navigation/native.

By adding <Stack.Navigator screenOptions={{ animationEnabled: false }}>… it is now working. It seems the animations mess up the WebView somehow


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.