-
![image](https://github.com/lzyzsd/JsBridge/assets/25999671/03e68736-2057-4f0d-bbcc-c065b1d8da5a)
gradle:7.2.2
sdk 30
jsbridge:1.0.4
-
直接返回会闪退
jsBridge.registerHandler('back', (Object? data) async {
Get.back();
});
延迟0.5s可以
jsBridge.registerHandler('back', (Object? data) async {
Future.delayed(const …
-
publish aar both in jsbridge and jsbridge-debug cause this problem , please fix it
-
Hi,
This is possibly a feature request. I have a use case where I need to send some json data to webpage being loaded in WebView Composable and possible handle some events coming from loaded web pa…
-
### Description
In real world hybird application, the JS code in webview can communicate with the Native code to use ability of Native.
For example
```Javascript
bridge.on("message", (args) => {…
-
Hi,
I'm attempting to use this cool library in an app that users Razor views (which is a very cool feature of Xamarin) however I don't seem to be able to get it working.
Looking at the code, it see…
-
I tried
![2016-11-23 4 55 11](https://cloud.githubusercontent.com/assets/8946333/20554198/a47b4ad6-b19d-11e6-8b44-5954ccfab91a.png)
I faced error
>java.lang.NoSuchMethodError: com.gzsll.jsbrid…
-
刚看JsBridge准备替换,原来项目里面用的Tbx X5WebView,感谢楼主对JsBridge的优化,准备上手了
-
key word:minifyEnabled 混淆 proguard
解决方案,混淆文件添加:
//https://github.com/lzyzsd/JsBridge 由于该库导致失效
-keep class org.json.** { *; }
出错堆栈:
08-03 21:47:58.575 11344-11344/com.tophold.xcfd W/Syste…
-
根据Example用例,在 onPageStarted 回调中执行 _jsBridge.init();
在H5在第二次载入后,发现window.WebViewJavascriptBridge为空.
但官方建议在[WebView.onPageFinished] callback中去执行evaluateJavascript 方法.
所以将_jsBridge.init()放入onPageFinis…