You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DSBridge v3.0 is a milestone, Compared with v2.0.X, we have made a lot of changes. Note that V3.0 is incompatible with V2.0, but v2.0 will continue to maintain. If you are a new user, use >=v3.0
In Java
Deprecated:dwebview.setJavascriptInterface , use addJavascriptObject instead.
DSBridge v3.0 change list
DSBridge v3.0 is a milestone, Compared with v2.0.X, we have made a lot of changes. Note that V3.0 is incompatible with V2.0, but v2.0 will continue to maintain. If you are a new user, use >=v3.0
In Java
dwebview.setJavascriptInterface, useaddJavascriptObject
instead.addJavascriptObject(Object object, String namespace)
removeJavascriptObject(String namespace)
disableJavascriptDialogBlock(bool disable)
hasJavascriptMethod(String handlerName, OnReturnValue<Boolean> existCallback)
setJavascriptCloseWindowListener(JavascriptCloseWindowListener listener)
DWebView.setWebContentsDebuggingEnabled(boolean enabled)
callHandler
can be called at any time.minSdkVersion
to 11.In Javascript
hasNativeMethod(handlerName,[type])
disableJavascriptDialogBlock(disable)
registerAsyn(methodName|namespace,function|asyApiObject)
register(methodName|namespace,function|synApiObject)
The text was updated successfully, but these errors were encountered: