react-native-cn-quill icon indicating copy to clipboard operation
react-native-cn-quill copied to clipboard

Quill causes the app to crash on Android.

Open YOOYONGHYUN opened this issue 10 months ago • 11 comments

There are no issues on iOS, but when opening Quill on Android, the app crashes. Could it be an issue with the WebView?

YOOYONGHYUN avatar Feb 18 '25 14:02 YOOYONGHYUN

I am experiencing same issue. have you found a fix? @YOOYONGHYUN

obrucheoghene avatar Feb 18 '25 18:02 obrucheoghene

I haven't found a solution yet. But I suspect that Quill is causing the issue because it uses a WebView. I read that WebView can cause crashes in Android apps. @obrucheoghene

YOOYONGHYUN avatar Feb 19 '25 05:02 YOOYONGHYUN

I haven't found a solution yet. But I suspect that Quill is causing the issue because it uses a WebView. I read that WebView can cause crashes in Android apps. @obrucheoghene

yeah I agree but web view alone works fine now when using Quill only getting crashed me too searching for a solution not found yet

The react-native-pell-rich-editor is also WebView-based, and I found that it causes crashes in the Android app. It seems that WebView-based editors all share the same issue. Interestingly, WebView alone works fine, but these WebView-based editors have this problem. I've tried various solutions, but none have worked, so I'm considering switching to the Tentap Editor.

YOOYONGHYUN avatar Feb 19 '25 08:02 YOOYONGHYUN

@obrucheoghene @Jeyaprakash-profit Try adding the following to your QuillEditor component: webview={{ dataDetectorTypes: Platform.OS === 'ios' ? 'none' : ['none'], }} It works for me

YOOYONGHYUN avatar Feb 19 '25 13:02 YOOYONGHYUN

Thanks @YOOYONGHYUN, it worked for me.

obrucheoghene avatar Feb 19 '25 18:02 obrucheoghene

Thanks @YOOYONGHYUN, also works for me!!

tflorac avatar Feb 26 '25 09:02 tflorac

@obrucheoghene @Jeyaprakash-profit Try adding the following to your QuillEditor component: webview={{ dataDetectorTypes: Platform.OS === 'ios' ? 'none' : ['none'], }} It works for me

This worked for me as well! Thanks @YOOYONGHYUN! 🎉

joshlbaker avatar Mar 24 '25 19:03 joshlbaker

@obrucheoghene @Jeyaprakash-profit Try adding the following to your QuillEditor component: webview={{ dataDetectorTypes: Platform.OS === 'ios' ? 'none' : ['none'], }} It works for me

works to me too!!!!

Kibryant avatar Apr 21 '25 20:04 Kibryant

Thanks @YOOYONGHYUN it works for me :)

shiva-kumar-sahoo avatar Jun 21 '25 23:06 shiva-kumar-sahoo

Thanks @YOOYONGHYUN, this saved lot of time.

jnikhil652 avatar Jun 22 '25 10:06 jnikhil652

Thanks @YOOYONGHYUN, this saved lot of time.

kala1883 avatar Jun 30 '25 22:06 kala1883