Skip to content

Instantly share code, notes, and snippets.

@t4kemyh4nd
Created August 27, 2021 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t4kemyh4nd/04c39e97dbc246b07c7dc19e1d133bd7 to your computer and use it in GitHub Desktop.
Save t4kemyh4nd/04c39e97dbc246b07c7dc19e1d133bd7 to your computer and use it in GitHub Desktop.
@JavascriptInterface
public String config(String str) {
String config = this.mManager.config(str);
if (Log.isLoggable("hybrid", 3)) {
Log.d("hybrid", "config response is " + config);
}
return config;
}
@JavascriptInterface
public String invoke(String str, String str2, String str3, String str4) {
String invoke = this.mManager.invoke(str, str2, str3, str4);
if (Log.isLoggable("hybrid", 3)) {
Log.d("hybrid", "blocking response is " + invoke);
}
return invoke;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment