react-native-webview icon indicating copy to clipboard operation
react-native-webview copied to clipboard

TypeError: Cannot read property 'startLoadWithResult' of null, js engine: hermes

Open miteshdevg opened this issue 1 year ago • 10 comments

I am facing issues like the above image it's completely working in Android but when i click on button for open web view then shows me an error in IOS only for It shows me after updating my Expo version

and if i' trying to update web view version then show me different different error Please help me for it. Screenshot 2024-02-09 at 6 32 53 PM

miteshdevg avatar Feb 09 '24 13:02 miteshdevg

@Titozzz , @matiaskorhonen , @jamonholmgren , @luatnd @Titozzz @webexpert4rv @zeeshanjan82 @ahartzog @khalidos32 @legion-zver @massivebrains @waheedakhter @ashu090990 @solominh @marlti7 @tmtung144 @yodaheis @roycechua @pragneshpj @developerashish01

Please help me to resolve this issue.

miteshdevg avatar Feb 12 '24 04:02 miteshdevg

webview is not working so i used web browser view

miteshdevg avatar Feb 16 '24 04:02 miteshdevg

i'm facing same issue and i don't want to use web browser please help me to resolve it .

miteshdevg avatar Feb 22 '24 08:02 miteshdevg

Update react-native-webview you the latest version

Mrebai avatar Mar 02 '24 14:03 Mrebai

Update react-native-webview you the latest version

no bro it's not working it's show me different error like

` Invariant Violation: Tried to register two views with the same name RNCWebView, js engine: hermes at node_modules/react-native/Libraries/Core/ExceptionsManager.js:105:15 in reportException at node_modules/react-native/Libraries/Core/ExceptionsManager.js:150:4 in handleException at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:26:18 in handleError at node_modules/expo/build/errors/ExpoErrorManager.js:27:16 in createErrorHandler at node_modules/expo/build/errors/ExpoErrorManager.js:32:8 in at node_modules/@react-native/js-polyfills/error-guard.js:51:16 in ErrorUtils.applyWithGuard at http://192.168.1.20:19000/index.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:null in global

Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes at node_modules/react-native/Libraries/Core/ExceptionsManager.js:105:15 in reportException at node_modules/react-native/Libraries/Core/ExceptionsManager.js:150:4 in handleException
  • ... 7 more stack frames from framework internals`

miteshdevg avatar Mar 04 '24 05:03 miteshdevg

same for me. any solutions, because it doesn't work in expo. Latest version of webview has this issue: https://github.com/react-native-webview/react-native-webview/issues/3233, but @11 has this one that described here.

evgenyshenets91 avatar Mar 06 '24 10:03 evgenyshenets91

No updates?

oscadev avatar Mar 31 '24 00:03 oscadev

No updates?

I CHANGED THE VERSION OF WEBVIEW

miteshdevg avatar Apr 01 '24 03:04 miteshdevg

it's not working properly

miteshdevg avatar May 17 '24 05:05 miteshdevg

@oscadev , @Mrebai and @evgenyshenets91 Have you found any solution.

miteshdevg avatar May 17 '24 05:05 miteshdevg

same problem

ombogdan avatar May 29 '24 19:05 ombogdan

any solution for this ?

rahmanharoon avatar Jun 26 '24 12:06 rahmanharoon

any solution for this ?

Can you please create build APK and after test in real device , so issue should be resolved

miteshdevg avatar Jun 27 '24 10:06 miteshdevg

Any solution to this

kennylevi avatar Jul 15 '24 17:07 kennylevi

"react-native-webview": "~13.6.3",

i just fixed it, update your lib with that exactly

kennylevi avatar Jul 15 '24 17:07 kennylevi

"react-native-webview": "~13.6.3",

i just fixed it, update your lib with that exactly

thank you this worked for me!

JANjana21 avatar Sep 25 '24 11:09 JANjana21