status-react/resources/js/webview.js

10 lines
257 B
JavaScript
Raw Normal View History

(function () {
WebViewBridge.onMessage = function (messageString) {
console.log("received from react-native: " + messageString);
if (messageString === "navigate-to-blank")
window.location.href = "about:blank";
};
}());