This PR changes the way of passing the message object to window.webBridge in sendToBridge function - previous approach was causing a crash when someone passed a string with unescaped ' character - now the object is passed without wrapping it with a string.
Summary
This PR changes the way of passing the message object to
window.webBridge
insendToBridge
function - previous approach was causing a crash when someone passed a string with unescaped'
character - now the object is passed without wrapping it with a string.