chongma
1
Please provide the following:
- SDK Version:
39.0.3
- Platforms(Android/iOS/web/all):
Android
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
chongma
2
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
2 Likes
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.