react-native-cn-richtext-editor icon indicating copy to clipboard operation
react-native-cn-richtext-editor copied to clipboard

CNEditor does not work on older Android devices

Open sam-rr opened this issue 5 years ago • 2 comments

I have found when testing on some older devices that the keyboard will not open.

It appears that this is because the HTML/JS being loaded into the WebView component uses some ES6 javascript, e.g. arrow functions and const/let variables, which are not fully supported on older devices running older versions of webview.

sam-rr avatar Jan 24 '20 19:01 sam-rr

Which version of the editor do you use? Are you using our next branch?

imnapo avatar Feb 01 '20 13:02 imnapo

Yes this is on the next branch / 2.0.0-rc2

I was able to recreate on Android simulator using by targeting Android 6.0 (does not work) and Android 7.1.1 (works).

My fork here https://github.com/sam-rr/react-native-cn-richtext-editor/commit/5a8ec15a7c5e24cddc737de39fbf2d383726bed4 contains the changes which seem to fix this.

sam-rr avatar Feb 03 '20 08:02 sam-rr