mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
7b8950870f
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
10 lines
257 B
JavaScript
10 lines
257 B
JavaScript
(function () {
|
|
|
|
WebViewBridge.onMessage = function (messageString) {
|
|
console.log("received from react-native: " + messageString);
|
|
|
|
if (messageString === "navigate-to-blank")
|
|
window.location.href = "about:blank";
|
|
};
|
|
}());
|