-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Just curious if we can use this for communication between React Native and a website running inside React Native Webview?
The current way to talk between the two is:
- To send data from React Native to the website running inside webview, you inject js into Webview which is then available on the website.
- To send data from Website to React Native, you call the window.reactNative.postMessage method which is injected into the global context by React Native Webview. Then you recieve the event on the webview message handler function and do rest of the stuff there.
tangdw
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation