DSBridge-IOS icon indicating copy to clipboard operation
DSBridge-IOS copied to clipboard

:earth_asia: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.

Results 68 DSBridge-IOS issues
Sort by recently updated
recently updated
newest added

你好,我在设置 webView1.dsuiDelegate = self 之后 H5页面请求录音时 并没有触发 WKUIDelegate 的 func webView(_ webView: WKWebView, requestMediaCapturePermissionFor 方法 于是我将 webView1.uiDelegate = self 之后,requestMediaCapturePermissionFor可以触发,但是所有的桥接功能都失效了 谢谢

js端使用dsbridge.call(name,params,(v))方式调用,然后在iOS端委托 runJavaScriptTextInputPanelWithPrompt方法里断点,日志里出来的promot以true开头,而不是_dsbridge=开头,导致进不了里面调用原生方法的断点 [37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- true_dsb.dsinit defaultText {"data":{}} 2022-06-13 14:09:32.331967+0800[37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- truegetStatusBarHeight defaultText {"data":{},"_dscbstub":"dscb0"} 2022-06-13 14:09:34.981082+0800[37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- truesetNavStatusBarVisibility defaultText {"data":"1","_dscbstub":"dscb1"} 并且这个_dsdb.dsinit 初始化方法会以alert形式弹出影响用户体验

Webview缓存起来 第一次调用成功 但是第二次调用就不成功了

fix:修复内嵌iframe页面sdk不生效的bug

I have redesigned new libraries, It only takes ten minutes to complete . Maybe can help you. OC: https://github.com/SDBridge/SDBridgeOC Swift: https://github.com/SDBridge/SDBridgeSwift

我已经重新设计了新的交互库,10分钟就能完成接入,也许可以帮助你. OC: https://github.com/SDBridge/SDBridgeOC Swift: https://github.com/SDBridge/SDBridgeSwift

If you use DWKWebView in storyboard, it will call initWithCoder. In current approach, it will not init the DWKWebView, so I move the init function to a commonInit and call...

如下是奔溃的简要日志: Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'

ret=action(JavascriptInterfaceObject,sel,arg); ret会返回NSAtom 这回导致后面的if (![NSJSONSerialization isValidJSONObject:dic]) 崩溃 请问怎么处理

如果支持,swift中func如何写呢?

Swift-support