Closed
Description
Hi,
I was testing the webview in Firefox and the onMessage function was never fired. After debugging, I realized that the problem was in this line:
onMessage = nativeEvent => nativeEvent.isTrusted && this.props.onMessage({ nativeEvent });
In Chrome isTrusted
is always equal to true
, but in Firefox isTrusted
is always equal to false
therefore the onMessage
prop function is never been executed.
I don't know how to handle this case, any ideas?
BR!
Metadata
Metadata
Assignees
Labels
No labels