fix: let Android to correctly recognize the NativeMobileWeb environment when opening WebView on Android (#1503)
This commit is contained in:
@@ -3,6 +3,7 @@ class WebProcessMessageSender {
|
||||
constructor() {
|
||||
this.pendingMessages = []
|
||||
window.addEventListener('message', this.handleMessageFromReactNative.bind(this))
|
||||
document.addEventListener('message', this.handleMessageFromReactNative.bind(this))
|
||||
}
|
||||
|
||||
handleMessageFromReactNative(event) {
|
||||
|
||||
Reference in New Issue
Block a user