@etsoo/appscript
Version:
Applications shared TypeScript framework
17 lines (16 loc) • 426 B
JavaScript
import { FlutterHost } from "./FlutterHost";
/**
* Bridge utils
*/
export var BridgeUtils;
(function (BridgeUtils) {
const g = globalThis;
/**
* Bridge host
*/
BridgeUtils.host = typeof g.flutter_inappwebview === "object"
? new FlutterHost(g.flutter_inappwebview)
: typeof g.electron === "object"
? g.electron
: undefined;
})(BridgeUtils || (BridgeUtils = {}));