Android 的 Js 桥接库,可以尝试使用 WebViewJavascriptBridge,在公司项目中已多次使用
作者: RDSunhy创建于 2024年9月4日更新于 2025年7月4日
The implementation is based on the famous iOS bridge library marcuswestin/WebViewJavascriptBridge, which maintains consistent APIs for easy calling from the JavaScript side, supports customizing the bridge object name, and solves the problem of failed calls before injecting the bridge object.
内容来源: happydog-intj/JsBridge