2016-08-03 13:15:04 +00:00
|
|
|
(function () {
|
|
|
|
|
|
|
|
WebViewBridge.onMessage = function (messageString) {
|
|
|
|
console.log("received from react-native: " + messageString);
|
2017-04-29 11:08:49 +00:00
|
|
|
|
2018-05-23 13:54:24 +00:00
|
|
|
if (messageString === "navigate-to-blank")
|
|
|
|
window.location.href = "about:blank";
|
2016-08-03 13:15:04 +00:00
|
|
|
};
|
|
|
|
}());
|