Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WITH SOLUTION] Exception in HostFunction: TypeError: expected dynamic type 'array', but had type 'string' #372

Closed
timlukastlt opened this issue Nov 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@timlukastlt
Copy link
Contributor

This error occurs with the latest WebView version. For example, I encountered it with version 13.12.2 and Expo SDK 52.0.5.

To resolve this issue:

  1. Navigate to node_modules -> react-native-pell-rich-editor -> RichEditor.js.
  2. On line 270, change dataDetectorTypes={'none'} to dataDetectorTypes={["none"]}.

Please fix this!

@timlukastlt timlukastlt changed the title Exception in HostFunction: TypeError: expected dynamic type 'array', but had type 'string' [WITH SOLUTION] Exception in HostFunction: TypeError: expected dynamic type 'array', but had type 'string' Nov 13, 2024
@globemediaofficial
Copy link

I also had this issue (specifically on Android) with Expo SDK 52 and your solution worked for me. Thanks!

timlukastlt added a commit to timlukastlt/react-native-rich-editor that referenced this issue Nov 19, 2024
@stulip
Copy link
Member

stulip commented Nov 20, 2024

I will pay attention to and fix this issue recently

@stulip stulip added the bug Something isn't working label Nov 20, 2024
@timlukastlt
Copy link
Contributor Author

#373

stulip added a commit that referenced this issue Nov 20, 2024
@feri-irawan
Copy link

Same issue with "react-native-pell-rich-editor": "^1.9.0", when we can install the new version?

@spacester7563
Copy link

Go to \node_modules\react-native-pell-rich-editor\src\RichEditor.js
And at line 270 change dataDetectorTypes={'none'} to dataDetectorTypes={['none']}
as shown in image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants