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

Add navigation methods, lifecycle events, and error handling

Open vivekb91 opened this issue 3 weeks ago • 0 comments

This commit implements core WebView features to improve compatibility with react-native-webview:

  • Navigation methods: goBack(), goForward(), reload(), stopLoading()
  • Lifecycle events: onLoadStart, onLoadEnd
  • Error handling: onError, onHttpError (with limitations documented)
  • Dynamic JS injection: injectJavaScript() method
  • User agent override: userAgent prop
  • Documentation: Updated README and added EXAMPLES.md
  • Build: Added package-lock.json to .gitignore (yarn project)

These features increase compatibility from ~10% to ~30% with react-native-webview API.

🤖 Generated with Claude Code

vivekb91 avatar Dec 01 '25 20:12 vivekb91