In the WebViewJavaScriptBridge project, the promise version of the JS file that the web project needs to import
WebViewJavascriptBridge项目中, Web项目需要导入JS 的 Promise 实现
npm i webview-javascript-bridge-promised
参考 https://github.com/marcuswestin/WebViewJavascriptBridge#usage
var bridge = require('webview-javascript-bridge-promised');
bridge.callHandler(...)
bridge.registerHandler(...)