Touch event listener in injected webview is causing an EOF error #34463
Labels
Component: WebView
Related to the WebView component.
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
Hello,
I am attempting to add a touch event listener to a webview using an injected script. Both of these functions are causing an EOF error when touch is detected.
I have true at the end of injected script. This is what is causing the issue. anyone know why?
Version
0.69.4
Output of
npx react-native info
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 2.32 GB / 15.90 GB
Binaries:
Node: 16.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowAllTrustedApps: Disabled
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 18.0.2 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.4 => 0.69.4
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
add the code posted as string and inject in to webview.
Snack, code example, screenshot, or link to a repository
inject the following code into a webview with an online source.
The text was updated successfully, but these errors were encountered: