react-native-rich-editor
react-native-rich-editor copied to clipboard
Multiple instances of text editor on same screen causes crash on android in release apk

I am using multiple text editor for showing the user answers in a single screen the app crashes on press of hardware back button.
react-native-webview:- 11.4.3 react-native-pell-rich-editor:^1.8.5 react-native: 0.63.2
@patoledevashree any solution on this ?
Hello I found one solution on this .
We can add android: hardwareAccelerated="false" Inside android manifest file. But this approach affect performance on some devices.
I request @stulip to make a change in webview like androidHardwareAccelerationDisabled
It will fix this problem. Please kindly refer this https://stackoverflow.com/questions/56553663/react-native-null-pointer-dereference-after-navigating-to-from-a-page-containi
@Nilesh8451 It worked for me but there is a performance issue after adding in manifest
I request author to please make changes suggested by Nilesh in webview
androidHardwareAccelerationDisabled is an attribute of webview, just pass in directly
androidHardwareAccelerationDisabled is deprecated.
I used the following to fix the problem.
<RichEditor
....
androidLayerType="software"
/>