We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f28de7 commit 8f0f05fCopy full SHA for 8f0f05f
1 file changed
agentweb-core/src/main/java/com/just/agentweb/AgentWeb.java
@@ -34,6 +34,7 @@
34
35
import java.lang.ref.WeakReference;
36
import java.util.Map;
37
+import android.annotation.SuppressLint;
38
39
/**
40
* @author cenxiaozhong
@@ -691,6 +692,7 @@ public PreAgentWeb createAgentWeb() {
691
692
}
693
694
695
+ @SuppressLint("AddJavascriptInterface")
696
public CommonBuilder addJavascriptInterface(@NonNull String name, @NonNull Object o) {
697
this.mAgentBuilder.addJavaObject(name, o);
698
return this;
0 commit comments